Initial commit
Initial commit [v9.7]
This commit is contained in:
40
_module/nss/cnv_attck_cultis.nss
Normal file
40
_module/nss/cnv_attck_cultis.nss
Normal file
@@ -0,0 +1,40 @@
|
||||
#include "nw_i0_generic"
|
||||
|
||||
void main()
|
||||
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
object oCultist = GetObjectByTag("Cultist");
|
||||
ChangeToStandardFaction(oCultist, STANDARD_FACTION_HOSTILE);
|
||||
ActionAttack(oPC);
|
||||
object oTarget;
|
||||
oTarget = GetObjectByTag("Cultist");
|
||||
SetIsTemporaryEnemy(oPC, oTarget);
|
||||
AssignCommand(oTarget, ActionAttack(oPC));
|
||||
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||||
|
||||
//
|
||||
|
||||
object oLiss = GetObjectByTag("Liss");
|
||||
ChangeToStandardFaction(oLiss, STANDARD_FACTION_HOSTILE);
|
||||
ActionAttack(oPC);
|
||||
oTarget = GetObjectByTag("Liss");
|
||||
SetIsTemporaryEnemy(oPC, oTarget);
|
||||
AssignCommand(oTarget, ActionAttack(oPC));
|
||||
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||||
|
||||
//
|
||||
|
||||
object oVarney = GetObjectByTag("Varney");
|
||||
ChangeToStandardFaction(oVarney, STANDARD_FACTION_HOSTILE);
|
||||
ActionAttack(oPC);
|
||||
oTarget = GetObjectByTag("Varney");
|
||||
SetIsTemporaryEnemy(oPC, oTarget);
|
||||
AssignCommand(oTarget, ActionAttack(oPC));
|
||||
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user