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 levelling 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.


Requirements

#include "nw_i0_henchman"

Version

1.29

See Also

categories: Henchmen/Familiars/Summoned Functions


 author: Charles Feduke
 Send comments on this topic.