Function SuicideOnce
- Line
- 1880
- Location
- common.ai
- Constant?
- no
- Type
- function
- Arguments
- integer easy, integer med, integer hard, integer unitid
- Returns
- nothing
| 1880 | function SuicideOnce takes integer easy, integer med, integer hard, integer unitid returns nothing |
| 1881 | if difficulty == EASY then |
| 1882 | call SuicideUnit(easy,unitid) |
| 1883 | elseif difficulty == NORMAL then |
| 1884 | call SuicideUnit(med,unitid) |
| 1885 | else
|
| 1886 | call SuicideUnit(hard,unitid) |
| 1887 | endif
|
| 1888 | endfunction
|