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