GetCanLevelUp(object, action)
Determines if an NPC henchman should level up.
int GetCanLevelUp( object oPC, action oHenchman = OBJECT_SELF );
Parameters
oPC
Character to check against.
oHenchman
NPC to level. (Default: OBJECT_SELF)
Description
Returns TRUE if an NPC should level up according to the level of oPC. If oPC's level is greater than or equal to oHenchman's level plus 2, then returns TRUE, otherwise returns FALSE. Note that oPC does not have to be associated as the henchman's master.
Requirements
#include "nw_i0_henchman"
Version
1.29
See Also
categories: | Henchmen/Familiars/Summoned Functions |
author: Charles Feduke
Send comments on this topic.