GetLeveledActorBase - Actor
From Creation Kit
Member of: Actor Script
ActorBase Function GetLeveledActorBase() native
Returns the ActorBase that was created for the leveled actor from the leveled list. If called on a non-leveled actor, it will just return the actor's base object.
; 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
- 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.