EVENT TYPE APPROACH TRAP

From Dragon Age Toolset Wiki
Jump to: navigation, search
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;
}