DetermineClassToUse

From NWN Lexicon



Contents

[edit] DetermineClassToUse()

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

[edit] Description

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



[edit] 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.


[edit] Requirements

#include " nw_i0_generic "

[edit] Version

1.22

[edit] See Also

functions: 

DetermineCombatRound



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

Personal tools
Categories