void main() { //get the pc who used the trapdoor object oPC = GetLastUsedBy(); //get the target waypoint destination object oDrop = GetWaypointByTag("wsm_wp_m079"); //jump the PC to the destination AssignCommand (oPC,JumpToObject(oDrop)); //close the trapdoor PlayAnimation (ANIMATION_PLACEABLE_CLOSE); }