• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Npc with CONVERSATION_PRIVATE OTserver 7.72 (help)

Loremaster7

New Member
Joined
Oct 16, 2017
Messages
29
Reaction score
4
Good afternoon friends,

After a long time without working with it, I decided to stick a guy in an old school project and I would like to implement the style of talking with NPC present from version 8.2, the one where the NPC only talks to you and this allows the NPC to talk with more than one person simultaneously.

But I'm stuck and would like to know how it's done in version 7.72...

I tested some things ... I've tested a few things ... for example changing functions in .lua files

in the npchandler.lua,

This:
-- Currently applied conversation behavior. CONVERSATION_DEFAULT is default.
NPCHANDLER_CONVBEHAVIOR = CONVERSATION_DEFAULT

for:
-- Currently applied conversation behavior. CONVERSATION_DEFAULT is default.
NPCHANDLER_CONVBEHAVIOR = CONVERSATION_PRIVATE

and, in the npcsystem.lua,

This:
NPCHANDLER_CONVBEHAVIOR = CONVERSATION_DEFAULT

for:
NPCHANDLER_CONVBEHAVIOR = CONVERSATION_PRIVATE

But, does not work!
 
Last edited:
Back
Top