///////////////////////////////////////////////////////////////////////////////
// GetTotalLevels
///////////////////////////////////////////////////////////////////////////////
// Created By:  Brock Heinz - OEI
// Created On:  02/13/06
// Description: This will return the total level of the creature across all
//              classes. It returns 0 on error
///////////////////////////////////////////////////////////////////////////////
int GetTotalLevels( object oCreature, int bIncludeNegativeLevels );

Note: It is not clear why this function exists when the GetHitDice() function returns the same answer Might have to do with level drain if I'm correct GetTotalLevels, with bIncludeNegativeLevels set to TRUE will get the total level with out level drain while GetHitDice will not.

Community content is available under CC-BY-SA unless otherwise noted.