54 lines
997 B
Plaintext
54 lines
997 B
Plaintext
|
#include "nw_i0_generic"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object owlmbgrd1 = GetObjectByTag("wlmbgrd1");
|
||
|
|
||
|
ChangeToStandardFaction(owlmbgrd1, STANDARD_FACTION_HOSTILE);
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
ActionAttack(oPC);
|
||
|
|
||
|
object oTarget;
|
||
|
oTarget = GetObjectByTag("wlmbgrd1");
|
||
|
|
||
|
SetIsTemporaryEnemy(oPC, oTarget);
|
||
|
|
||
|
AssignCommand(oTarget, ActionAttack(oPC));
|
||
|
|
||
|
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||
|
|
||
|
|
||
|
object owlmbgrd2 = GetObjectByTag("wlmbgrd2");
|
||
|
|
||
|
ChangeToStandardFaction(owlmbgrd2, STANDARD_FACTION_HOSTILE);
|
||
|
|
||
|
ActionAttack(oPC);
|
||
|
|
||
|
oTarget = GetObjectByTag("wlmbgrd2");
|
||
|
|
||
|
SetIsTemporaryEnemy(oPC, oTarget);
|
||
|
|
||
|
AssignCommand(oTarget, ActionAttack(oPC));
|
||
|
|
||
|
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||
|
|
||
|
|
||
|
|
||
|
object oLordWelm = GetObjectByTag("LordWelm");
|
||
|
|
||
|
ChangeToStandardFaction(oLordWelm, STANDARD_FACTION_HOSTILE);
|
||
|
|
||
|
ActionAttack(oPC);
|
||
|
|
||
|
oTarget = GetObjectByTag("LordWelm");
|
||
|
|
||
|
SetIsTemporaryEnemy(oPC, oTarget);
|
||
|
|
||
|
AssignCommand(oTarget, ActionAttack(oPC));
|
||
|
|
||
|
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||
|
}
|
||
|
|