Jass:ForcePickRandomPlayerEnum
Aus Mappedia
| Funktion: ForcePickRandomPlayerEnum | |
|---|---|
| Parameter: | nothing |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function ForcePickRandomPlayerEnum takes nothing returns nothing set bj_forceRandomConsidered = bj_forceRandomConsidered + 1 if (GetRandomInt(1,bj_forceRandomConsidered) == 1) then set bj_forceRandomCurrentPick = GetEnumPlayer() endif endfunction
