SetIndividualImpactAOEEvent

From Dragon Age Toolset Wiki
Jump to: navigation, search

Individual "impact" events for each object within an Area of Effect.

void SetIndividualImpactAOEEvent(
object oCaster,
object oTarget,
int nAbility,
location lTarget,
int nBaseDelay = 0
);
Parameters:
oCaster
The person responsible for the area of effect
oTarget
The person who will run the effect
nAbility
The ability that should be cast
lTarget
The location of the target of the event (used for fireball and other abilities that can be cast at the ground.
nBaseDelay
The base delay is 0 milliseconds; however, some cone effects require more than a random 150 millisecond delay to make crusts hit simultaneously with the cone. Use BaseDelay for this purpose.
Returns:

Nothing.

Source:

script.ldf

Description

Assembles (and delays for 0-149 milliseconds) an individual impact event associated with an area of effect to ensure that they don't all happen simultaneously. This is called directly by the Area of Effect object itself, thus we don't need to know anything about its center location (except in the case of fireball, hence the fourth parameter).