Difference between revisions of "EVENT TYPE TRAP ARM"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(split out of event)
 
m (remove redundant category)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*<b>Sent When:</b> Sent by script to request that a trap arm itself.
+
{{needs review}}
*<b>Sent From:</b>
+
{{Event
*<b>Sent To:</b>
+
|sourcefile=events_h
 +
|when= Sent by script to request that a trap arm itself. Will make the trap visible and play the 'trap placed' message.
 +
|from= script
 +
|to= trap trigger placeable
 +
|tocategory1=trap
 +
|tocategory2=placeable
 +
|sortkey=TRAP_ARM
 +
|object0name=oOwner
 +
|object0desc={{undocumented}}
 +
}}
  
Parameters:
+
[[Category:Trap events|TRAP_ARM]]
 
+
[[Category:Event types|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;
}