void main() { object oPC = GetLastUsedBy(); if (!GetIsPC(oPC)) return; object oTarget; oTarget = GetObjectByTag("SlaadDoor1"); AssignCommand(oTarget, ActionOpenDoor(oTarget)); }