14 lines
265 B
Plaintext
14 lines
265 B
Plaintext
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;
|
|
}
|