Qf触发器 findPathBegin » 历史记录 » 版本 1
yangdefeng, 2023-08-09 17:54
| 1 | 1 | yangdefeng | h4. _*%{color:green}[@findPathBegin]%*_ |
|---|---|---|---|
| 2 | |||
| 3 | *说明* |
||
| 4 | 点击小地图开始寻路触发,返回目标点坐标。 |
||
| 5 | |||
| 6 | *相关变量* |
||
| 7 | <$map_x>:目标点x坐标 |
||
| 8 | <$map_y>:目标点y坐标 |
||
| 9 | |||
| 10 | - |
||
| 11 | - |
||
| 12 | |||
| 13 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
| 14 | |||
| 15 | bq. %{color:lightGrey};--..\Mir200\Envir\Market_Def\QFunction-0.txt% |
||
| 16 | <notextile>[@findPathBegin]</notextile> |
||
| 17 | #act |
||
| 18 | [[print]] 点击小地图寻路开始 |
||
| 19 | [[print]] 寻路目标点:<$map_x>,<$map_y> |
||
| 20 | |
||
| 21 | <notextile>[@findPathStop]</notextile> |
||
| 22 | #act |
||
| 23 | [[print]] 点击小地图寻路中断 |
||
| 24 | |
||
| 25 | <notextile>[@findPathEnd]</notextile> |
||
| 26 | #act |
||
| 27 | [[print]] 点击小地图寻路结束 |