• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

NPC Talk range - where to change it ?

Fresh

Quack!
Joined
Oct 21, 2009
Messages
1,855
Solutions
18
Reaction score
671
Hello,
I have question:
Where to change talk range of NPC
i mean:
If i say Hi, the npc respond me if im near him like 5 sqm.
Where to change it to be 1sqm near him ?

Thanks for help.
 
If you want to change it for all NPCs, edit npchandler.lua:
Code:
		talkRadius = [B][COLOR="red"]4[/COLOR][/B],
If you only want to change it for a single NPC, add this in the .lua script that belongs to the NPC:
Code:
npcHandler.talkRadius = [B][COLOR="red"]1[/COLOR][/B]
 
Back
Top