void main() { /// opens a door with the same tag as the object calling the script, plus _dr object oObject=GetObjectByTag(GetTag(OBJECT_SELF)+"_dr"); SetLocked(oObject,FALSE); ActionOpenDoor(oObject); }