18 lines
239 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("wolfcryptdoor1");
SetLocked(oTarget, FALSE);
AssignCommand(oTarget, ActionOpenDoor(oTarget));
}