The search keyword must be a single word (no spaces).
Function SetBuildAll
- Line
- 981
- Location
- common.ai
- Constant?
- no
- Type
- function
- Arguments
- integer t, integer qty, integer unitid, integer town
- Returns
- nothing
| 981 | function SetBuildAll takes integer t, integer qty, integer unitid, integer town returns nothing |
| 982 | if qty > 0 then |
| 983 | set build_qty[build_length] = qty |
| 984 | set build_type[build_length] = t |
| 985 | set build_item[build_length] = unitid |
| 986 | set build_town[build_length] = town |
| 987 | set build_length = build_length + 1 |
| 988 | endif
|
| 989 | endfunction
|