shan2004 发表于 2022-6-22 19:17:57

魔峰怎么跟随队友啊

魔峰怎么跟随队友啊魔峰怎么跟随队友啊魔峰怎么跟随队友啊

49920386 发表于 2022-6-23 11:55:02

战术性马克一下!!{:5_251:}

小怪 发表于 2022-6-22 20:41:13

设置焦点 跟随焦点·······················

莫赴 发表于 2022-6-23 00:36:04

这是论坛里 别的大佬发的 也是焦点 希望帮助你
local Tbl = BeeUnitBuffList("target")
local buff = BeeUnitBuffList("player")
BeeRun("/console Sound_EnableSFX 0 ")--该条是往下技能开启静音,防止卡技能导致游戏里技能音乱叫
--是否是团队
if GetNumRaidMembers()>0 then
    grouptype="raid"
else
    grouptype="party"
end
--跟随焦点
if UnitName("focus") and ((BeeRange("focus")<=30 and BeeRange("focus")>=10) or not BeeUnitIsFollow()) then
    FollowUnit("focus");
    return
end
--自动攻击焦点目标
if not IsMounted("player")   then
    BeeRun("/target [@focustarget,harm]");
    return true;
end
BeeRun("/console Sound_EnableSFX 1 ") --至此开启技能提示音

有什么其它的疑难杂症 可以问我 我会尽所能回复
end
BeeRun("/console Sound_EnableSFX 1 ") --至此开启技能提示音

zlksdd 发表于 2022-6-23 09:48:26

本帖最后由 zlksdd 于 2022-6-23 09:55 AM 编辑

学习到了感谢楼上分享原本准备水一贴,结果给了100的费用,还是留下一点
跟随焦点

if UnitName("focus") and ((BeeRange("focus")<=30 and BeeRange("focus")>=15) or not BeeUnitIsFollow()) then   
   FollowUnit("focus");
    return true;
end

注意设置好焦点

tanyaoiii 发表于 2022-6-23 10:10:58

zr0807 发表于 2022-6-23 11:20:01

大佬们的方案很牛X,谢谢指导

49920386 发表于 2022-6-23 11:47:14

大佬们的方案很牛X,谢谢指导{:5_243:}

49920386 发表于 2022-6-23 11:49:30

zlksdd 发表于 2022-6-23 09:48 AM
学习到了感谢楼上分享原本准备水一贴,结果给了100的费用,还是留下一点
跟随焦点



战术性马克一下!!:P:P

hl2086 发表于 2022-6-23 11:51:06

我也来学习学习 我脚本中也需要

49920386 发表于 2022-6-23 11:52:21

zlksdd 发表于 2022-6-23 09:48 AM
学习到了感谢楼上分享原本准备水一贴,结果给了100的费用,还是留下一点
跟随焦点



不错就是把要跟随之人设置为焦点!:P
页: [1] 2 3 4 5 6 7 8 9
查看完整版本: 魔峰怎么跟随队友啊