GetLevel - ActorBase
Member of: ActorBase Script
Obtains this actor's current level.
SyntaxEdit
int Function GetLevel() native
ParametersEdit
None.
Return ValueEdit
The level this actor is.
ExamplesEdit
; Get the level the rat is (adjusted for player level)
ActorBase PlayerBase = RatReference.GetBaseObject() as ActorBase
int playerLevel = PlayerBase.GetLevel()
NotesEdit
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.