The search keyword must be a single word (no spaces).
Function SetBuildUpgrEx
- Line
- 1034
- Location
- common.ai
- Constant?
- no
- Type
- function
- Arguments
- integer easy, integer med, integer hard, integer unitid
- Returns
- nothing
| 1034 | function SetBuildUpgrEx takes integer easy, integer med, integer hard, integer unitid returns nothing |
| 1035 | if difficulty == EASY then |
| 1036 | call SetBuildAll(BUILD_UPGRADE,easy,unitid,-1) |
| 1037 | elseif difficulty == NORMAL then |
| 1038 | call SetBuildAll(BUILD_UPGRADE,med,unitid,-1) |
| 1039 | else
|
| 1040 | call SetBuildAll(BUILD_UPGRADE,hard,unitid,-1) |
| 1041 | endif
|
| 1042 | endfunction
|