DoLevelUp(object, object)
Levels up an NPC to appropriate PC henchman level.
void DoLevelUp( object oPC, object oHenchman = OBJECT_SELF );
Parameters
oPC
PC to level up in accordance with.
oHenchman
NPC to perform the leveling up of. (Default: OBJECT_SELF)
Description
Levels up oHenchman to 1 level less than oPC.
Remarks
All local variables kept on the henchman are not lost. These are copied to the PC before the henchman is destroyed and respawned as a new higher level henchman, then retrieved.
NOTE: x0_i0_henchman also contains a function with this exact same name and parameters. However, the x0_i0_henchman version should not be used as all it does is return OBJECT_INVALID.
Requirements
#include "nw_i0_henchman"
Version
1.29
See Also
categories: | Henchmen/Familiars/Summoned Functions |
author: Charles Feduke, editor: Mistress