跳到主要内容

single-start-cube-range(首次进入范围触发)

玩家第一次进入立方体范围时触发一次,之后不再触发(直到模块被销毁并重新创建)。

params

必填:

  • aLocation:范围角点 A
  • bLocation:范围角点 B
  • kether:脚本列表

示例:

first-enter:
type: single-start-cube-range
params:
aLocation: { x: -156, y: 142, z: -45 }
bLocation: { x: -162, y: 50, z: -52 }
kether:
- 'tell "你首次进入该区域"'

行为细节

  • 触发事件:PlayerMoveEvent
  • 执行者:第一个触发的玩家