Difference between revisions of "EVENT TYPE UNIQUE POWER"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (|sourcefile=events_h)
m (add category inadvertantly removed)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Event
 
{{Event
 
|sourcefile=events_h
 
|sourcefile=events_h
|when= a unique power for an item is used</b>
+
|when= a unique power for an item is used
 
|from= Scripting
 
|from= Scripting
 
|to= [[module]]
 
|to= [[module]]
 +
|tocategory1=Module
 +
|sortkey=UNIQUE_POWER
 
|int0name=nAbility
 
|int0name=nAbility
 
|int0desc={{undocumented}}
 
|int0desc={{undocumented}}
Line 14: Line 16:
 
}}
 
}}
  
[[Category:Event types|UNIQUE POWER]]
 
 
[[Category:Items]]
 
[[Category:Items]]

Latest revision as of 01:03, 12 February 2010

Source:
events_h
Sent when:
a unique power for an item is used
Sent from:
Scripting
Sent to:
module
Parameters:

Usage

case EVENT_TYPE_UNIQUE_POWER:
{
int nAbility = GetEventInteger(ev, 0); // [Undocumented]
object oItem = GetEventObject(ev, 0); // [Undocumented]
object oCaster = GetEventObject(ev, 1); // [Undocumented]
object oTarget = GetEventObject(ev, 2); // [Undocumented]>

// insert event-handling code here

break;
}