项目

一般

简介

Qf触发器 teleport » 历史记录 » 版本 1

tejie, 2024-12-11 18:46

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
print 当前地图编号:<$str(L$传送点[0])>
21
print 传送点X坐标:<$str(L$传送点[1])>
22
print 传送点Y坐标:<$str(L$传送点[2])>
23
print 目标地图编号:<$str(L$传送点[3])>
24
print 传送点X坐标:<$str(L$传送点[4])>
25
print 传送点Y坐标:<$str(L$传送点[5])>