找回密码
 点一下
查看: 2118|回复: 3

SetBuildAll怎么使用?

[复制链接]
发表于 2006-4-23 20:01:54 | 显示全部楼层 |阅读模式
RT.........................................
发表于 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]
回复

使用道具 举报

 楼主| 发表于 2006-4-23 20:24:40 | 显示全部楼层
set build_qty[build_length] = qty
        set build_type[build_length] = t
        set build_item[build_length] = unitid
        set build_town[build_length] = town
就是这个我不知是什么DD,在JASS手册里没有查到build_length等
回复

使用道具 举报

发表于 2006-4-23 20:27:02 | 显示全部楼层
去看common.ai
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-5-2 09:22 , Processed in 0.076406 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表