项目

一般

简介

StAutoPlayGame » 历史记录 » 版本 8

tejie, 2026-01-27 09:23

1 2 yangdefeng
h4. _*%{color:green}stAutoPlayGame%*_
2 1 machenhe
3
角色执行自动战斗操作
4
5 8 tejie
标签:命令^stAutoPlayGame
6 1 machenhe
7
*格式*
8 3 yangdefeng
|命令名		|参数1		|参数2		|
9
|stAutoPlayGame	|挂机范围	|是否寻路	|
10 1 machenhe
11
*说明*
12 8 tejie
|参数1|挂机范围,以人物当前坐标为中心,挂机范围为半径,寻怪挂机|
13
|^.参数2|是否寻路
14
*0-不寻路* 
15
始终在设置的挂机范围内寻怪挂机。
16
*1-寻路*
17
当前范围内怪物清理完成后,寻找一个可到达的位置,到达指定位置后,再次以该位置为中心点,以挂机范围为半径寻怪。|
18 3 yangdefeng
19 8 tejie
该命令可触发 %{color:green}..\Mir200\Envir\Market_Def\QFunction-0.txt% 中的 %{color:orange}[@stAutoPlayGame]%
20 3 yangdefeng
21 8 tejie
参数1与参数2可缺省
22 4 yangdefeng
23 8 tejie
参数1与参数2配置生效前提如下
24
tejieConfig.txt
25 4 yangdefeng
[tjConfig]
26 5 yangdefeng
autoPlayGameMode=0或缺省
27
28 4 yangdefeng
*相关命令*
29 1 machenhe
[[StartAutoPlayGame]] 
30
31
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
32
33 3 yangdefeng
bq. [<notextile>@</notextile>执行挂机]
34
#act
35 1 machenhe
*{color:green}stAutoPlayGame*
36
37
38
bq. %{color:green}..\\Mir200\\Envir\\Market_Def\\QFunction-0.txt:% 
39
[<notextile>@</notextile>stAutoPlayGame]
40
#act
41
sendMsg 6 开始挂机