GetCreatureStartingPackage

From NWN Lexicon
Jump to navigationJump to search



GetCreatureStartingPackage(object)

Returns the default level up package

int GetCreatureStartingPackage(
    object oCreature
);

Parameters

oCreature

Creature to determine package of


Description

Returns the default package selected for this creature to level up with - returns PACKAGE_INVALID if error occurs.



Remarks

Returns a value of type PACKAGE_*. This function may be useful in conjunction with LevelUpHenchman.

This is also the value set in the toolset creature properties - under the "Class" section. This should always be valid in any module with this function, and every class has a default one (For example Outsiders do have a default levelup package).


Version

1.61

See Also

constants: 

PACKAGE_* Constants



 author: Lilac Soul, editor: Jasperre