Difference between revisions of "EVENT TYPE TRAP ARM"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (split out of event) |
BryanDerksen (Talk | contribs) m (remove redundant category) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{needs review}} | |
− | + | {{Event | |
− | + | |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}} | ||
+ | }} | ||
− | + | [[Category:Trap events|TRAP_ARM]] | |
− | + | ||
− | [[Category: | + |
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:
-
- Object 0: [Undocumented]
Usage
case EVENT_TYPE_TRAP_ARM:
{
object oOwner = GetEventObject(ev, 0); // [Undocumented]
// insert event-handling code here
break;
}
{
object oOwner = GetEventObject(ev, 0); // [Undocumented]
// insert event-handling code here
break;
}