SetIndividualImpactAOEEvent

From Dragon Age Toolset Wiki
Revision as of 17:11, 29 July 2009 by BryanDerksen (Talk | contribs) (1 revision: Importing auto-generated function articles)

Jump to: navigation, search

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser was able to extract and/or match all the information required, however it has flagged this page as containing one or more joins. A join occurs when the parser encounters a single line entry (such as parameter descriptions or remarks) which has been split over multiple lines. The parser joins these lines together to prevent the information being omitted, however any original formatting will have been lost.

This page must be reviewed by a knowledgeable scripter as it will probably require updating. If the join occurred in a parameter description it will probably be necessary to move the additional information to the Description section below. Once identified, the issue in the source file should be reported to BioWare.

Please remove the {{Generated with joins}} tag once the page has been corrected.

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

void SetIndividualImpactAOEEvent(
object oCaster,
object oTarget,
int nAbility,
location lTarget,
int nBaseDelay
);
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).