DetermineClassToUse()

Looks at the character classes of a NPC and determines which one to use in combat.

int DetermineClassToUse();

Description

Returns class of NPC to be used in function (DetermineCombatRound). Scans all three class slots available, then returns one of them randomly.



Remarks

Randomly selects which class to send.

Because this function takes no paramaters, it can only be run from a script owned by the creature whose classes we want to choose from.


Requirements

#include "nw_i0_generic"

Version

1.22

See Also

functions: DetermineCombatRound
categories: Combat Functions | Get Data from Creature Functions


 author: Jody Fletcher, editor: Lilac Soul, additional contributor(s): Lilac Soul