logoHourGlass
NLG.CheckTalkRange

NLG.CheckTalkRange

NLG.CheckTalkRange(CharIndex, TargetCharIndex)

函數功能

檢查對象是否面對面且在對話範圍內(兩格)

參數說明

  • CharIndex數值型 自身對象index。
  • TargetCharIndex數值型 目標對象index。

返回值

0: 不在距離內 1: 在距離內