logoHourGlass
SetRemoteNpc

NL.SetRemoteNpc

NL.SetRemoteNpc(NpcIndex, RemoteEnabled)

函數功能

設置遠程NPC模式,開啓後的NPC可以不限制距離遠程觸發。

參數說明

  • NpcIndex:數值型 NPC的對象index。
  • RemoteEnabled:數值型 是否開啓遠程NPC支持(0:關閉,1:開啓)。

返回值

新的NPC遠程模式的開啓狀態(0 或者 1)。