Mod:Creation Kit/GetLeveledActorBase - Actor

Member of: Mod:Creation Kit/Actor Script

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.

Syntax
ActorBase Function GetLeveledActorBase native

Parameters

 * None.

Return Value
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.

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