Caveats
CK Wiki - Notes
- This will not work for a template NPC or LeveledActor as the actor references (ACHR) are dynamically created.
Examples
; Get the race that the player is
ActorBase PlayerBase = Game.GetPlayer().GetBaseObject() as ActorBase
Race PlayerRace = PlayerBase.GetRace()Auto-Generated Example
Race returnedValue = myActorBase__toCallFunctionOn.GetRace()