Qf触发器 teleport » 历史记录 » 版本 2
tejie, 2024-12-11 18:59
1 | 1 | tejie | h4. _*%{color:green}[@teleport]%*_ |
---|---|---|---|
2 | |||
3 | *说明* |
||
4 | 角色在场景中踩中传送点触发。 |
||
5 | 返回多元数组元素变量:L$传送点 |
||
6 | |||
7 | 变量内容如下: |
||
8 | [当前地图编号,传送点X坐标,传送点Y坐标,目标地图编号,传送点X坐标,传送点Y坐标] |
||
9 | |||
10 | 以上内容取自 mapinfo.txt,对应传送点配置信息。 |
||
11 | |||
12 | - |
||
13 | - |
||
14 | |||
15 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
16 | |||
17 | bq. %{color:lightGrey};--..\Mir200\Envir\Market_Def\QFunction-0.txt% |
||
18 | [@teleport] |
||
19 | #act |
||
20 | 2 | tejie | print 当前地图编号:<notextile><$str(L$传送点[0])></notextile> |
21 | print 传送点X坐标:<notextile><$str(L$传送点[1])></notextile> |
||
22 | print 传送点Y坐标:<notextile><$str(L$传送点[2])></notextile> |
||
23 | print 目标地图编号:<notextile><$str(L$传送点[3])></notextile> |
||
24 | print 传送点X坐标:<notextile><$str(L$传送点[4])></notextile> |
||
25 | print 传送点Y坐标:<notextile><$str(L$传送点[5])></notextile> |