Difference between revisions of "EVENT TYPE ABILITY PROJECTILE LAUNCHED"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (parameters from ccreature.cpp) |
BryanDerksen (Talk | contribs) |
||
Line 5: | Line 5: | ||
|from= | |from= | ||
|to=creature | |to=creature | ||
− | |creatorname= | + | |creatorname= |
− | |creatordesc= | + | |creatordesc=Creature firing the projectile |
|object0name=oCreator | |object0name=oCreator | ||
|object0desc= | |object0desc= |
Revision as of 17:50, 20 August 2009
The documentation on this page is incomplete, obsolete, or otherwise in need of a thorough review. The current content may provide a good starting point for this, but do not rely on its accuracy when using it to design content.
- Source:
- script.ldf
- Sent when:
- Fires the moment the projectile for an ability launches. Used to set cooldown for projectile based abilities.
- Sent from:
- Sent to:
- creature
- Parameters:
-
- Creator: Creature firing the projectile
- Integer 0: [Undocumented]
- Object 0: [Undocumented]
Usage
case EVENT_TYPE_ABILITY_PROJECTILE_LAUNCHED:
{
int nAbilityID = GetEventInteger(ev, 0); //
object oCreator = GetEventObject(ev, 0); //
// insert event-handling code here
break;
}
{
int nAbilityID = GetEventInteger(ev, 0); //
object oCreator = GetEventObject(ev, 0); //
// insert event-handling code here
break;
}
Handled by ability_core. Projectile abilities set their cooldown here. All other abilities set it on cast impact.