Difference between revisions of "EVENT TYPE UNIQUE POWER"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (remove redundant category)
m (add category inadvertantly removed)
 
Line 4: Line 4:
 
|from= Scripting
 
|from= Scripting
 
|to= [[module]]
 
|to= [[module]]
 +
|tocategory1=Module
 +
|sortkey=UNIQUE_POWER
 
|int0name=nAbility
 
|int0name=nAbility
 
|int0desc={{undocumented}}
 
|int0desc={{undocumented}}

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;
}