DetermineCombatRound(object, int)

Determines NPC actions during any given round.

void DetermineCombatRound(
    object oIntruder = OBJECT_INVALID,
    int nAIDifficulty = 10
);

Parameters

oIntruder

(Default: OBJECT_INVALID)

nAIDifficulty

Not Used (Default: 10)


Description

This function is the master function for the generic include and is called from the main script. This function is used in lieu of any actual scripting. This function examines the NPC for spell-casting ability, and other possible actions.



Requirements

#include "NW_I0_GENERIC"

Version

1.28

See Also

functions: ActionAttack | chooseTactics | DetermineAssociateCombatRound | DetermineClassToUse
categories: Combat Functions | Core AI Functions
events: OnPhysicalAttacked Event


 author: Jody Fletcher, editor: Charles Feduke, additional contributor(s): Tim Stokman