Function WaitForUnits
| 1215 | function WaitForUnits takes integer unitid, integer qty returns nothing |
| 1216 | loop
|
| 1217 | exitwhen TownCountDone(unitid) == qty |
| 1218 | call Sleep(2) |
| 1219 | endloop
|
| 1220 | endfunction
|
| 1215 | function WaitForUnits takes integer unitid, integer qty returns nothing |
| 1216 | loop
|
| 1217 | exitwhen TownCountDone(unitid) == qty |
| 1218 | call Sleep(2) |
| 1219 | endloop
|
| 1220 | endfunction
|