EVENT TYPE TRAP TRIGGER ENTER
From Dragon Age Toolset Wiki
Revision as of 04:09, 4 January 2010 by KigenBarzhad (Talk | contribs)
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;
}