Function; Player_GetRace - HWRM/KarosGraveyard GitHub Wiki

Player_GetRace(<iPlayerIndex>)

Description

Returns the index number of the race of the player.
Note: Player_GetRace returns 1 for Hiigaran, whereas Hiigaran is the second entry in the races table in "race.lua".

Example

Arguments

<iPlayerIndex>: the index number of the player.

Scope

Related Pages

Function Reference

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial