GetLevelExact - ActorBase

From Creation Kit
Jump to: navigation, search

Member of: ActorBase Script

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

Syntax

int Function GetLevelExact() native

Parameters

None.

Return Value

The level this actor is.

Examples

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

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 GetLevel.

See Also