27 lines
412 B
Plaintext
27 lines
412 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("greshdr");
|
|
|
|
AssignCommand(oTarget, ActionCloseDoor(oTarget));
|
|
|
|
SetLocked(oTarget, TRUE);
|
|
|
|
oTarget = GetObjectByTag("lrdgdoor2");
|
|
|
|
AssignCommand(oTarget, ActionCloseDoor(oTarget));
|
|
|
|
SetLocked(oTarget, TRUE);
|
|
|
|
object oItem;
|
|
oItem = GetItemPossessedBy(oPC, "msrsmap");
|
|
|
|
if (GetIsObjectValid(oItem))
|
|
DestroyObject(oItem);
|
|
|
|
}
|
|
|