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

Description

Wiki Description

Obtains this actor's current level.

Documentation Comment

Obtains this actor's level


Caveats

CK Wiki - Notes

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 ActorBase.GetLevelExact().


Examples

; Get the level the rat is (adjusted for player level)
ActorBase PlayerBase = RatReference.GetBaseObject() as ActorBase
int playerLevel = PlayerBase.GetLevel()

Auto-Generated Example

int returnedValue = myActorBase__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.