logoHourGlass
NLG.FindNpcByName

NLG.FindNpcByName

NLG.FindNpcByPos(Name)

函數功能

通過名字獲取指定名字的NPC對象的Index,只能返回第一個結果。

參數說明

返回值

目標NPC的Index,如果失敗返回-1。