GetRace - ActorBase
Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
Member of: ActorBase Script
Obtains this actor's Race.
Syntax
Race Function GetRace() native
Parameters
None.
Return Value
The Race the actor is.
Examples
; Get the race that the player is
ActorBase PlayerBase = Game.GetPlayer().GetBaseObject() as ActorBase
Race PlayerRace = PlayerBase.GetRace()