Difference between revisions of "EVENT TYPE TRAP TRIGGER ENTER"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (category) |
BryanDerksen (Talk | contribs) |
||
Line 7: | Line 7: | ||
|tocategory1=trap | |tocategory1=trap | ||
|sortkey=TRAP_TRIGGER_ENTER | |sortkey=TRAP_TRIGGER_ENTER | ||
+ | |targetname=oTarget | ||
+ | |targetdesc=Object that triggered the trap | ||
+ | |creatorname=oTrap | ||
+ | |creatordesc=Trap placeable | ||
+ | |string0name=sAOE | ||
+ | |string0desc=Lower case tage of AOE trigger associated with the trap | ||
}} | }} |
Revision as of 19:16, 19 August 2009
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;
}