The search keyword must be a single word (no spaces).
Function SelectUnitRemoveForPlayer
- Line
- 3608
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- unit whichUnit, player whichPlayer
- Returns
- nothing
| 3608 | function SelectUnitRemoveForPlayer takes unit whichUnit, player whichPlayer returns nothing |
| 3609 | if (GetLocalPlayer() == whichPlayer) then |
| 3610 | // Use only local code (no net traffic) within this block to avoid desyncs.
|
| 3611 | call SelectUnit(whichUnit, false) |
| 3612 | endif
|
| 3613 | endfunction
|