45 lines
740 B
Plaintext
45 lines
740 B
Plaintext
|
#include "nw_i0_generic"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oTarget;
|
||
|
oTarget = GetObjectByTag("oolgkv");
|
||
|
|
||
|
DestroyObject(oTarget, 5.0);
|
||
|
|
||
|
object oKlev = GetObjectByTag("Klev");
|
||
|
|
||
|
ChangeToStandardFaction(oKlev, STANDARD_FACTION_HOSTILE);
|
||
|
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
ActionAttack(oPC);
|
||
|
|
||
|
|
||
|
object oOomosh = GetObjectByTag("Oomosh");
|
||
|
|
||
|
ChangeToStandardFaction(oOomosh, STANDARD_FACTION_HOSTILE);
|
||
|
|
||
|
ActionAttack(oPC);
|
||
|
|
||
|
|
||
|
oTarget = GetObjectByTag("Klev");
|
||
|
|
||
|
SetIsTemporaryEnemy(oPC, oTarget);
|
||
|
|
||
|
AssignCommand(oTarget, ActionAttack(oPC));
|
||
|
|
||
|
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||
|
|
||
|
oTarget = GetObjectByTag("Oolmosh");
|
||
|
|
||
|
SetIsTemporaryEnemy(oPC, oTarget);
|
||
|
|
||
|
AssignCommand(oTarget, ActionAttack(oPC));
|
||
|
|
||
|
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||
|
|
||
|
}
|
||
|
|