SetPlayerRacePreference
- Parameters
-
whichPlayer player
whichRacePreference racepreference
- comment
- note
-
This function shall only be used within the scope of function
config
in war3map.j, it is executed by the game when you load the lobby/selected the map for preview. - patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
native SetPlayerRacePreference takes player whichPlayer, racepreference whichRacePreference returns nothing