Background for Fallout 4
Member of the Actor script
intfunctionGetLevel()Native

Description

Wiki Description

Gets the actor's current level.

Documentation Comment

Returns this actor's current level.


Caveats


Examples

; 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

Auto-Generated Example

int returnedValue = myActor__toCallFunctionOn.GetLevel()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.