找回密码
 点一下
查看: 2836|回复: 7

[已解决]大大们~~进来看下这图的技能怎么移植!!

[复制链接]
发表于 2008-10-14 00:42:21 | 显示全部楼层 |阅读模式
RT~~~~我要移植这图里的那个自动射击的系统``````~~不知道怎么移植

~~~~~~~~~~~~~~~~~~~~别的技能都不要 ~~就要那个AttackGround 的技能~谢谢
通宵在线等~~~谢谢了~~~~
发表于 2008-10-14 01:49:27 | 显示全部楼层
把AttackGround触发复制了
然后把id为A002的辅助单位也复制上
再把id为h001的技能复制上 粘贴到你的地图 就ok了
不过一般你粘贴到自己的地图时,技能和辅助单位id都会被改变,你就在物体编辑器里按ctrl+f查看在你图里的技能和辅助单位id各是什么,然后把下面函数里的原A002
H001替换成你现在所用的id就可以了,不过单引号可不能去掉
如把    return 'A002' 改成
    return 'A009'  这就是正确的
至于第二个函数是干什么的 懒得解释了。。
还有一点要注意的是 粘贴触发时确保你地图里没有同名触发器的名字,不要那种带有一大串 xxx 复制之类的,如果你粘贴的触发器名字和原地图里的不一致就会出错了

constant function AttackGround_SpellId takes nothing returns integer
    return 'A002' // The dummy spell ability... based off Channel
endfunction

constant function AttackGround_OrderId takes nothing returns integer
    return OrderId("channel") // The dummy spell ability order id
endfunction

constant function AttackGround_DummyUnitId takes nothing returns integer
    return 'h001'  // Dummy target unit (semi-locust no model, godlike stats (99999 hp... 1000 divine armor)
endfunction
回复

使用道具 举报

发表于 2008-10-14 01:50:38 | 显示全部楼层
补充ls,察看需要ctrl+D
回复

使用道具 举报

发表于 2008-10-14 01:53:42 | 显示全部楼层
噢,是ctrl,我打错了,本本键盘还用不惯
回复

使用道具 举报

发表于 2008-10-14 01:55:27 | 显示全部楼层
这个技能不错,配合分裂攻击好bt
看得出猪头也是因为跟我一样懒得打字 所以一直观望啊。。
不过看在这个技能的创意上所以帮楼主一把~
回复

使用道具 举报

发表于 2008-10-14 01:57:38 | 显示全部楼层
其实我是连看都灭有看呢………………

觉得要移植的话,稍微去学一些jass基础比较好
回复

使用道具 举报

 楼主| 发表于 2008-10-14 02:21:49 | 显示全部楼层
终于可以了
回复

使用道具 举报

发表于 2008-10-30 15:08:58 | 显示全部楼层
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-2 16:40 , Processed in 0.055663 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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