Background for Skyrim SE
Member of the Actor script

Description

Wiki Description

Gets the temporary ActorBase of a leveled Actor - the one generated by the game from the leveled list. If the actor is not leveled, it will simply return the base object shown in the editor.

Documentation Comment

Obtains a leveled actor's "fake" base (the one generated by the game when the
actor is leveled. This differs from GetActorBase which will return the editor base
object)


Caveats

CK Wiki - Notes

  • Creating an actor in script from a temporary ActorBase will cause a CTD when the temporary ActorBase is garbage collected. To make a copy of an actor, use GetActorBase() instead.

Examples

; Get the sex of a leveled actor by using GetLeveledActorBase() so you can call the GetSex() function
if myActorProperty.GetLeveledActorBase().GetSex() == 1
    ;do something
endif

Auto-Generated Example

ActorBase returnedValue = myActor__toCallFunctionOn.GetLeveledActorBase()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.