LUACN论坛

 找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
热搜: YJWOW MagicStone BoL
查看: 2127|回复: 1

[函数] 【amGetFollowUnit】获得跟随目标名称

[复制链接]
发表于 2013-11-3 14:07:59 | 显示全部楼层 |阅读模式
amGetFollowUnit

   获得跟随目标名称

语法

       name = amGetFollowUnit()

参数
  

返回值
      name
      字符串 - 成功返回 跟随目标名称 失败返回 nil。

备注
      需求版本:yjwow 函数库1830

请参考

      例子:
          1. if UnitName("focus") and ((amjl("focus")<=25and amjl("focus")>=10) or not amGetFollowUnit()) then
          2. FollowUnit("focus");
          3. return true;
          4. end

      当焦点 超 10码 或者 没跟随目标时 运行跟随目标





回复

使用道具 举报

发表于 2021-3-19 20:56:03 | 显示全部楼层
获得跟随目标名称主号点击死尸后跟随号点击死尸不再切换目标 求大佬这问题咋办
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

小黑屋|手机版|Archiver|LUACN论坛

GMT+8, 2024-4-27 08:04 AM , Processed in 0.056599 second(s), 19 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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