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

Description

Wiki Description

Obtains this actor's current level, not taking into account any leveling done to match the player's level.

Documentation Comment

Obtains this actor's level, unmodified by matching the player's level


Caveats

CK Wiki - Notes

This function does not take into account any leveling done by the system in relation to the player's level. If you want the adjusted level, use ActorBase.GetLevel().


Examples

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

Auto-Generated Example

int returnedValue = myActorBase__toCallFunctionOn.GetLevelExact()

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.