120 lines
2.3 KiB
Plaintext
120 lines
2.3 KiB
Plaintext
/*Script created by Phoenix for BG module: Old Man(OM,om) walks way from PC.*/
|
|
|
|
//Put the script on the actions taken tab in conver.
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("Paucus");
|
|
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Paucus")));
|
|
|
|
oTarget = GetObjectByTag("Paucus");
|
|
|
|
int nInt;
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
oTarget = GetObjectByTag("Paucus");
|
|
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier");
|
|
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Paucus")));
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier");
|
|
|
|
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier");
|
|
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier2");
|
|
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Paucus")));
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier2");
|
|
|
|
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier2");
|
|
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier3");
|
|
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Paucus")));
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier3");
|
|
|
|
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier3");
|
|
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier4");
|
|
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Paucus")));
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier4");
|
|
|
|
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier4");
|
|
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier5");
|
|
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Paucus")));
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier5");
|
|
|
|
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier5");
|
|
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier6");
|
|
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Paucus")));
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier6");
|
|
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier6");
|
|
|
|
DestroyObject(oTarget, 3.0);
|
|
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier7");
|
|
|
|
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_Paucus")));
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier7");
|
|
|
|
|
|
nInt = GetObjectType(oTarget);
|
|
|
|
oTarget = GetObjectByTag("LankhmarSoldier7");
|
|
|
|
DestroyObject(oTarget, 3.0);
|
|
}
|