void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; object oTarget; oTarget = GetObjectByTag("FORCEFIELD3"); AssignCommand(oTarget, ActionCloseDoor(oTarget)); }