Difference between revisions of "EVENT TYPE MANA STAM DEPLETED"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (update with information from ccreature.cpp) |
KigenBarzhad (Talk | contribs) |
||
Line 11: | Line 11: | ||
Ability system has some events happening when running out of a resource (e.g. deactivating berserk). | Ability system has some events happening when running out of a resource (e.g. deactivating berserk). | ||
+ | |||
+ | [[Category:Event types|MANA_STAM_DEPLETED]] | ||
+ | [[Category:Creature events|MANA_STAM_DEPLETED]] |
Revision as of 20:58, 3 January 2010
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:
- Creature ran out of mana or stamina
- Sent from:
- Sent to:
- Creatures
- Parameters:
-
- Creator: [Undocumented]
Usage
case EVENT_TYPE_MANA_STAM_DEPLETED:
{
object oCreator = GetEventCreator(ev); //
// insert event-handling code here
break;
}
{
object oCreator = GetEventCreator(ev); //
// insert event-handling code here
break;
}
Ability system has some events happening when running out of a resource (e.g. deactivating berserk).