22 lines
282 B
Plaintext
22 lines
282 B
Plaintext
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetEnteringObject();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
object oTarget;
|
||
|
oTarget = GetObjectByTag("myrtocash");
|
||
|
|
||
|
AssignCommand(oTarget, ActionCloseDoor(oTarget));
|
||
|
|
||
|
SetLocked(oTarget, TRUE);
|
||
|
|
||
|
oTarget = GetObjectByTag("Myrra");
|
||
|
|
||
|
DestroyObject(oTarget, 0.0);
|
||
|
|
||
|
}
|
||
|
|