GetConvertedPlayerId

Parameters
whichPlayer player

Target player

comment

returns WorldEdit-type player ID for player (these start with 1; e.g. player red is 1).

note

For zero-based IDs see: GetPlayerId, Player

patch

1.00

return type
integer
Source code
function GetConvertedPlayerId takes player whichPlayer returns integer
    return GetPlayerId(whichPlayer) + 1
endfunction
Source
Blizzard.j
wc3modding.com
GetConvertedPlayerId