The search keyword must be a single word (no spaces).
Function SelectUnitAddForPlayer
- Line
- 3600
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- unit whichUnit, player whichPlayer
- Returns
- nothing
| 3600 | function SelectUnitAddForPlayer takes unit whichUnit, player whichPlayer returns nothing |
| 3601 | if (GetLocalPlayer() == whichPlayer) then |
| 3602 | // Use only local code (no net traffic) within this block to avoid desyncs.
|
| 3603 | call SelectUnit(whichUnit, true) |
| 3604 | endif
|
| 3605 | endfunction
|