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