SetPlayerController

Parameters
whichPlayer player
controlType mapcontrol
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.

return type
nothing
Source code
native SetPlayerController      takes player whichPlayer, mapcontrol controlType returns nothing
Source
common.j
wc3modding.com
SetPlayerController