Jass:SelectUnitRemoveForPlayer
Aus Mappedia
| Funktion: SelectUnitRemoveForPlayer | |
|---|---|
| Parameter: | unit player |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function SelectUnitRemoveForPlayer takes unit whichUnit, player whichPlayer returns nothing if (GetLocalPlayer() == whichPlayer) then // Use only local code (no net traffic) within this block to avoid desyncs. call SelectUnit(whichUnit, false) endif endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| unit | whichUnit | |
| player | whichPlayer |
