GetRace - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor 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
Race PlayerRace = Game.GetPlayer().GetRace()

See Also