void main() { object oTarget = GetObjectByTag("TombBridgeDoor2"); SetLocked(oTarget, FALSE); AssignCommand(oTarget, ActionOpenDoor(oTarget)); }