50 lines
1.8 KiB
Plaintext
50 lines
1.8 KiB
Plaintext
|
|
||
|
#include "nw_i0_generic"
|
||
|
|
||
|
void main()
|
||
|
|
||
|
{
|
||
|
|
||
|
object oTarget;
|
||
|
|
||
|
// Get the PC who is in this conversation.
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
// Have "gnrlwrlgaox" say something.
|
||
|
AssignCommand(GetObjectByTag("gnrlwrlgaox"), SpeakString("Men! Remove this filth from the face of Nehwon! Once and for all!"));
|
||
|
|
||
|
// Attack PC
|
||
|
object owgrdox1 = GetObjectByTag("wgrdox1");
|
||
|
DelayCommand(2.0, ChangeToStandardFaction(owgrdox1, STANDARD_FACTION_HOSTILE));
|
||
|
DelayCommand(2.0, ActionAttack(oPC));
|
||
|
oTarget = GetObjectByTag("wgrdox1");
|
||
|
SetIsTemporaryEnemy(oPC, oTarget);
|
||
|
DelayCommand(2.0, AssignCommand(oTarget, ActionAttack(oPC)));
|
||
|
DelayCommand(2.0, AssignCommand(oTarget, DetermineCombatRound(oPC)));
|
||
|
|
||
|
// Attack PC
|
||
|
object owgrdox2 = GetObjectByTag("wgrdox2");
|
||
|
DelayCommand(2.0, ChangeToStandardFaction(owgrdox2, STANDARD_FACTION_HOSTILE));
|
||
|
DelayCommand(2.0, ActionAttack(oPC));
|
||
|
oTarget = GetObjectByTag("wgrdox2");
|
||
|
SetIsTemporaryEnemy(oPC, oTarget);
|
||
|
DelayCommand(2.0, AssignCommand(oTarget, ActionAttack(oPC)));
|
||
|
DelayCommand(2.0, AssignCommand(oTarget, DetermineCombatRound(oPC)));
|
||
|
|
||
|
// Attack PC
|
||
|
object owgrdox3 = GetObjectByTag("wgrdox3");
|
||
|
DelayCommand(2.0, ChangeToStandardFaction(owgrdox3, STANDARD_FACTION_HOSTILE));
|
||
|
DelayCommand(2.0, ActionAttack(oPC));
|
||
|
oTarget = GetObjectByTag("wgrdox3");
|
||
|
SetIsTemporaryEnemy(oPC, oTarget);
|
||
|
DelayCommand(2.0, AssignCommand(oTarget, ActionAttack(oPC)));
|
||
|
DelayCommand(2.0, AssignCommand(oTarget, DetermineCombatRound(oPC)));
|
||
|
|
||
|
// Destroy an object (not fully effective until this script ends).
|
||
|
DelayCommand(2.1, DestroyObject(GetObjectByTag("WorlgaGuard22")));
|
||
|
|
||
|
// Destroy an object (not fully effective until this script ends).
|
||
|
DelayCommand(3.1, DestroyObject(GetObjectByTag("gnrlwrlgaox")));
|
||
|
|
||
|
}
|