GetLevel - Actor
Revision as of 05:55, 5 September 2016 by imported>EliRaven (→Examples)
Member of: Actor Script
Gets the actor's current level.
Syntax
int Function GetLevel() native
Parameters
None.
Return Value
The actor's current level.
Examples
; Print a message if Bob is higher level than the player
if (Bob.GetLevel() > Game.GetPlayer().GetLevel())
Debug.Trace("Bob is higher level than the player!")
endIf