Difference between revisions of "EVENT TYPE UNEQUIP"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(format)
m (|sourcefile=script.ldf)
Line 1: Line 1:
 
{{event
 
{{event
 +
|sourcefile=script.ldf
 
|when= The current creature has unequipped an item
 
|when= The current creature has unequipped an item
 
|from= [[engine]]
 
|from= [[engine]]

Revision as of 20:47, 30 July 2009

Source:
script.ldf
Sent when:
The current creature has unequipped an item
Sent from:
engine
Sent to:
creatures
Parameters:
  • Creator: item being unequipped

Usage

case EVENT_TYPE_UNEQUIP:
{
object oItem = GetEventCreator(ev); // item being unequipped

// insert event-handling code here

break;
}