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