GetLevel - Actor
Member of: Actor Script
Gets the actor's current level.
SyntaxEdit
int Function GetLevel() native
ParametersEdit
None.
Return ValueEdit
The actor's current level.
ExamplesEdit
; Print a message if Bob is higher level then the player
if (Bob.GetLevel() > Game.GetPlayer().GetLevel())
Debug.Trace("Bob is higher level then the player!")
endIf