14 lines
265 B
Plaintext
Raw Normal View History

2023-08-08 16:22:17 -04:00
void main()
{
object oPC = GetItemActivator();
object oArea = GetArea(oPC);
object oTarget = GetObjectByTag("hqmaindoor");
if(GetTag(GetArea(oPC))=="TSSHQ")
{
SetLocked(oTarget, FALSE);
AssignCommand(oTarget, ActionOpenDoor(oTarget));
}
else return;
}