Difference between revisions of "EVENT TYPE MANA STAM DEPLETED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(split off of event)
 
m (remove redundant category)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*<b>Sent When:</b> Creature ran out of mana or stamina
+
{{needs review}}
*<b>Sent From:</b>
+
{{event
*<b>Sent To:</b>
+
|sourcefile=script.ldf
 +
|when=Creature ran out of mana or stamina
 +
|from=
 +
|to=Creatures
 +
|tocategory1=creature
 +
|sortkey=MANA_STAM_DEPLETED
 +
|creatorname=oCreator
 +
}}
  
Parameters:
+
Ability system has some events happening when running out of a resource (e.g. deactivating berserk).
 
+
[[Category:Event types|MANA_STAM_DEPLETED]]
+

Latest revision as of 00:57, 12 February 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:

Usage

case EVENT_TYPE_MANA_STAM_DEPLETED:
{
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).