void main() { object oClicker = GetClickingObject(); object oTarget = GetTransitionTarget(OBJECT_SELF); location lLoc = GetLocation(oTarget); AssignCommand(oClicker,JumpToLocation(lLoc)); SignalEvent(GetObjectByTag("Trap_Door"),EventUserDefined(500)); }