Difference between revisions of "EVENT TYPE APPROACH TRAP"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (split out of event) |
BryanDerksen (Talk | contribs) (formatting) |
||
Line 1: | Line 1: | ||
− | + | {{event | |
− | + | |when=Trap triggered and the creature receiving this event should approach the trap | |
− | + | |to=creature | |
− | + | |from= | |
− | + | |object0name=oTrap | |
− | + | |object0desc=Trap | |
+ | }} | ||
[[Category:Event types|APPROACH_TRAP]] | [[Category:Event types|APPROACH_TRAP]] |
Revision as of 22:24, 23 July 2009
- Source:
- [Undocumented]
- Sent when:
- Trap triggered and the creature receiving this event should approach the trap
- Sent from:
- Sent to:
- creature
- Parameters:
-
- Object 0: Trap
Usage
case EVENT_TYPE_APPROACH_TRAP:
{
object oTrap = GetEventObject(ev, 0); // Trap
// insert event-handling code here
break;
}
{
object oTrap = GetEventObject(ev, 0); // Trap
// insert event-handling code here
break;
}