35 lines
618 B
Plaintext
35 lines
618 B
Plaintext
#include "nw_i0_generic"
|
|
|
|
void main()
|
|
{
|
|
object oLordGresh2 = GetObjectByTag("LordGresh2");
|
|
|
|
ChangeToStandardFaction(oLordGresh2, STANDARD_FACTION_HOSTILE);
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
ActionAttack(oPC);
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("LordGresh2");
|
|
|
|
SetIsTemporaryEnemy(oPC, oTarget);
|
|
|
|
AssignCommand(oTarget, ActionAttack(oPC));
|
|
|
|
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
|
|
|
|
|
|
|
|
|
oTarget = GetObjectByTag("wlmbgrd1");
|
|
|
|
AssignCommand(oTarget, ActionAttack(GetObjectByTag("LordGresh2")));
|
|
|
|
oTarget = GetObjectByTag("wlmbgrd2");
|
|
|
|
AssignCommand(oTarget, ActionAttack(GetObjectByTag("LordGresh2")));
|
|
|
|
}
|
|
|