GetRace - ActorBase

Member of: ActorBase Script

Obtains this actor's Race.

SyntaxEdit

Race Function GetRace() native

ParametersEdit

None.

Return ValueEdit

The Race the actor is.

ExamplesEdit

; Get the race that the player is
ActorBase PlayerBase = Game.GetPlayer().GetBaseObject() as ActorBase
Race PlayerRace = PlayerBase.GetRace()

See AlsoEdit