|
输入地图上任何可见单位的名字~~这样你下一次使用刀阵旋风~~就会直接只命中那个目标~~其实就是添加分类触发的超基础应用啦~~因为正好给疑难区一个人做演示就顺便放技能区来了~~
那个提问帖子是
http://www.islga.org/bbs/read.php?tid=11363
演示在此了~~将刀阵的目标判定改为air,ground,structure,sapper~~最大目标数改为1~~投射图像改为导弹~~范围为全地图~~
然后增加下列触发~~
[trigger]
HomingFanKnife
Events
Player - Player 1 (Red) types a chat message containing <Empty String> as A substring
Conditions
Actions
Set ug = (Units in (Entire map))
Unit Group - Pick every unit in ug and do (Actions)
Loop - Actions
Unit - Remove A sapper classification from (Picked unit)
Custom script: call DestroyGroup( udg_ug )
Set ug = (Units in (Entire map) matching ((Entered chat string) Equal to (Name of (Matching unit))))
Unit Group - Pick every unit in ug and do (Actions)
Loop - Actions
Unit - Add A sapper classification to (Picked unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in ug) Not equal to 0
Then - Actions
Game - Display to (All players) the text: ((Entered chat string) + 定位完毕)
Else - Actions
Game - Display to (All players) the text: 定位失败,找不到目标
Custom script: call DestroyGroup( udg_ug )
[/trigger] |
评分
-
查看全部评分
|