GetLevelExact - ActorBase
Jump to navigation
Jump to search
Member of: ActorBase Script
Obtains this actor's current level, not taking into account any leveling done to match the player's level.
Syntax[edit | edit source]
int Function GetLevelExact() native
Parameters[edit | edit source]
None.
Return Value[edit | edit source]
The level this actor is.
Examples[edit | edit source]
; Get the level the rat is (NOT adjusted for player level)
ActorBase PlayerBase = RatReference.GetBaseObject() as ActorBase
int playerLevel = PlayerBase.GetLevelExact()
Notes[edit | edit source]
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.