Difference between revisions of "EVENT TYPE TRAP TRIGGER ENTER"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) |
KigenBarzhad (Talk | contribs) |
||
Line 14: | Line 14: | ||
|string0desc=Lower case tage of AOE trigger associated with the trap | |string0desc=Lower case tage of AOE trigger associated with the trap | ||
}} | }} | ||
+ | |||
+ | [[Category:Event types|TRAP_TRIGGER_ENTER]] | ||
+ | [[Category:Trap events|TRAP_TRIGGER_ENTER]] |
Latest revision as of 04:09, 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 from:
- area of effect 'trigger'
- Sent to:
- trap's signal target(s).
- Parameters:
-
- Creator: Trap placeable
- Target: Object that triggered the trap
- String 0: Lower case tage of AOE trigger associated with the trap
Usage
case EVENT_TYPE_TRAP_TRIGGER_ENTER:
{
object oTrap = GetEventCreator(ev); // Trap placeable
object oTarget = GetEventTarget(ev); // Object that triggered the trap
string sAOE = GetEventString(ev, 0); // Lower case tage of AOE trigger associated with the trap
// insert event-handling code here
break;
}
{
object oTrap = GetEventCreator(ev); // Trap placeable
object oTarget = GetEventTarget(ev); // Object that triggered the trap
string sAOE = GetEventString(ev, 0); // Lower case tage of AOE trigger associated with the trap
// insert event-handling code here
break;
}