Difference between revisions of "EVENT TYPE TRAP ARM"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (|sourcefile=events_h)
m (remove redundant category)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{Event
 
{{Event
 
|sourcefile=events_h
 
|sourcefile=events_h
|when= Sent by script to request that a trap arm itself.
+
|when= Sent by script to request that a trap arm itself. Will make the trap visible and play the 'trap placed' message.
 
|from= script
 
|from= script
|to=
+
|to= trap trigger placeable
 
|tocategory1=trap
 
|tocategory1=trap
 +
|tocategory2=placeable
 
|sortkey=TRAP_ARM
 
|sortkey=TRAP_ARM
 +
|object0name=oOwner
 +
|object0desc={{undocumented}}
 
}}
 
}}
 +
 +
[[Category:Trap events|TRAP_ARM]]

Latest revision as of 00:50, 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:
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;
}