GetLevelExact - ActorBase

Member of: ActorBase Script

Obtains this actor's current level, not taking into account any leveling done to match the player's level.

SyntaxEdit

int Function GetLevelExact() native

ParametersEdit

None.

Return ValueEdit

The level this actor is.

ExamplesEdit

; Get the level the rat is (NOT adjusted for player level)
ActorBase PlayerBase = RatReference.GetBaseObject() as ActorBase
int playerLevel = PlayerBase.GetLevelExact()

NotesEdit

This function does not take into account any leveling done by the system in relation to the player's level. If you want the adjusted level, use GetLevel.

See AlsoEdit