魔力宝贝

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz

[NL库] SetRemoteNpc

[复制链接]
发表于 前天 19:44 | 显示全部楼层 |阅读模式
SetRemoteNpc
NL.SetRemoteNpc(NpcIndex, RemoteEnabled)
函数功能
设置远程NPC模式,开启后的NPC可以不限制距离远程触发。

参数说明
NpcIndex: 数值型 NPC的对象index。
RemoteEnabled: 数值型 是否开启远程NPC支持(0:关闭,1:开启)。
返回值
新的NPC远程模式的开启状态(0 或者 1)。

回复

使用道具 举报

Archiver|魔力研究社

GMT+8, 2025-5-12 12:03 , Processed in 0.143964 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表