• 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 Modal Window

QuickLearner

New Member
Joined
Mar 20, 2018
Messages
21
Reaction score
2
Hi,

I want to have a dialog window for whole talk with NPC instead of writing. I saw that this is possible on other OTS so I think it should be also possible on mine TFS 10.98.

Does anyone have some examples how to do it?

What I mean is - when i say hi then the dialog window opens with
Title
NPC message

and possible responses.

I can do this:

1738529266718.webp

But I do not know how to keep the whole conversation. After I show up this dialog the NPC loses focus and choosing option does nothing...

I've added some script to creaturescripts and it does not work.
 
 
If you're using OTClient, why not use a dialogue module for NPCs? It would be better than a modal window... In fact, I posted about this today on another forum. If you want, you can check it out here, just click:link here

See this image, "Hello, young man! I see you’ve made it this far! Click on 'Reward' and celebrate your achievement!"
1738531443325.webp
 
If you're using OTClient, why not use a dialogue module for NPCs? It would be better than a modal window... In fact, I posted about this today on another forum. If you want, you can check it out here, just click:link here

See this image, "Hello, young man! I see you’ve made it this far! Click on 'Reward' and celebrate your achievement!"
View attachment 89959
Hi friend, do you happen to have the game_npcdialog.rar file? The downloadable file isn't available on the page I searched for.
 
@Mateus Robeerto Thanks for the script. Its awesome but I'm wondering how to make it so for example: I can choose something inside the dialog like a modalwindow but inside dialog. So i can select things that do actions. I would really like to be able to make players choose something inside the dialog area not in a separate modalwindow.
79b53788d88df65640e92edf9ecbc4ff.gif
 

Similar threads

  • Question Question
Replies
0
Views
105
Back
Top