The search keyword must be a single word (no spaces).
Function SetBuildUnitEx
- Line
- 1006
- Location
- common.ai
- Constant?
- no
- Type
- function
- Arguments
- integer easy, integer med, integer hard, integer unitid
- Returns
- nothing
| 1006 | function SetBuildUnitEx takes integer easy, integer med, integer hard, integer unitid returns nothing |
| 1007 | if difficulty == EASY then |
| 1008 | call SetBuildAll(BUILD_UNIT,easy,unitid,-1) |
| 1009 | elseif difficulty == NORMAL then |
| 1010 | call SetBuildAll(BUILD_UNIT,med,unitid,-1) |
| 1011 | else
|
| 1012 | call SetBuildAll(BUILD_UNIT,hard,unitid,-1) |
| 1013 | endif
|
| 1014 | endfunction
|