Aantioch_Infernum/_module/nss/open_tolldoor.nss

16 lines
237 B
Plaintext
Raw Permalink Normal View History

2023-08-08 16:22:17 -04:00
//Put this OnEnter
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
object oTarget;
oTarget = GetObjectByTag("TunnelTollDoor");
SetLocked(oTarget, FALSE);
AssignCommand(oTarget, ActionOpenDoor(oTarget));
}