25 lines
433 B
Plaintext
25 lines
433 B
Plaintext
|
|
void main()
|
|
{
|
|
|
|
object oTarget;
|
|
int nInt;
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
oTarget = GetObjectByTag("Chevas");
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Chevas")));
|
|
|
|
oTarget = GetObjectByTag("Chevas");
|
|
nInt = GetObjectType(oTarget);
|
|
oTarget = GetObjectByTag("Chevas");
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
oTarget = GetObjectByTag("mgate2");
|
|
AssignCommand(oTarget, ActionCloseDoor(oTarget));
|
|
SetLocked(oTarget, TRUE);
|
|
|
|
}
|
|
|
|
|