Difference between revisions of "EVENT TYPE APPROACH TRAP"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (update template) |
BryanDerksen (Talk | contribs) m (|sourcefile=events_h) |
||
Line 1: | Line 1: | ||
{{event | {{event | ||
+ | |sourcefile=events_h | ||
|when=Trap triggered and the creature receiving this event should approach the trap | |when=Trap triggered and the creature receiving this event should approach the trap | ||
|to=creature | |to=creature |
Revision as of 16:16, 19 August 2009
- Source:
- events_h
- 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;
}