GetLevel - ActorBase
Jump to navigation
Jump to search
Member of: ActorBase Script
Obtains this actor's current level.
Syntax[edit | edit source]
int Function GetLevel() 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 (adjusted for player level)
ActorBase PlayerBase = RatReference.GetBaseObject() as ActorBase
int playerLevel = PlayerBase.GetLevel()
Notes[edit | edit source]
This function takes into account any leveling done by the system in relation to the player's level. If you want the raw level, use GetLevelExact.