Difference between revisions of "EVENT TYPE TRAP ARM"

From Dragon Age Toolset Wiki
Jump to: navigation, search
Line 11: Line 11:
 
|object0desc={{undocumented}}
 
|object0desc={{undocumented}}
 
}}
 
}}
 +
[[Category:Event types|TRAP_ARM]]
 +
[[Category:Trap events|TRAP_ARM]]
 +
[[Category:Placeable events|TRAP_ARM]]

Revision as of 04:12, 4 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:
events_h
Sent when:
Sent by script to request that a trap arm itself. Will make the trap visible and play the 'trap placed' message.
Sent from:
script
Sent to:
trap trigger placeable
Parameters:

Usage

case EVENT_TYPE_TRAP_ARM:
{
object oOwner = GetEventObject(ev, 0); // [Undocumented]

// insert event-handling code here

break;
}