|
发表于 2006-4-23 20:22:18
|
显示全部楼层
ai我不懂
只能抛砖引玉
common.ai
[jass]
function SetBuildAll takes integer t, integer qty, integer unitid, integer town returns nothing
if qty > 0 then
set build_qty[build_length] = qty
set build_type[build_length] = t
set build_item[build_length] = unitid
set build_town[build_length] = town
set build_length = build_length + 1
endif
endfunction
[/jass] |
|