Difference between revisions of "SetIndividualImpactAOEEvent"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Generated by Sunjammer's Dragon Age Script Paser)
 
m (looks okay, removing tag)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Generated with joins}}
 
 
{{dafunction
 
{{dafunction
 
|name=SetIndividualImpactAOEEvent
 
|name=SetIndividualImpactAOEEvent
Line 6: Line 5:
 
|param1name=oCaster
 
|param1name=oCaster
 
|param1desc=The person responsible for the area of effect
 
|param1desc=The person responsible for the area of effect
 +
|param1default=
 
|param2type=object
 
|param2type=object
 
|param2name=oTarget
 
|param2name=oTarget
 
|param2desc=The person who will run the effect
 
|param2desc=The person who will run the effect
 +
|param2default=
 
|param3type=int
 
|param3type=int
 
|param3name=nAbility
 
|param3name=nAbility
 
|param3desc=The ability that should be cast
 
|param3desc=The ability that should be cast
 +
|param3default=
 
|param4type=location
 
|param4type=location
 
|param4name=lTarget
 
|param4name=lTarget
 
|param4desc=The location of the target of the event (used for fireball and other abilities that can be cast at the ground.
 
|param4desc=The location of the target of the event (used for fireball and other abilities that can be cast at the ground.
 +
|param4default=
 
|param5type=int
 
|param5type=int
 
|param5name=nBaseDelay
 
|param5name=nBaseDelay
 
|param5desc=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.
 
|param5desc=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.
 +
|param5default=0
 
|returntype=void
 
|returntype=void
 
|returndesc=Nothing.  Creates the event internally, and stores it on the queue.
 
|returndesc=Nothing.  Creates the event internally, and stores it on the queue.

Latest revision as of 22:46, 9 February 2010

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).