• 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!

I need a ModalWindow tutorial

Joined
Mar 14, 2020
Messages
139
Solutions
3
Reaction score
11
I need a modal window tutorial to learn how to use that, how to flex and etc. I have some ideas that i want to make and modalWindow will help a lot, but i didin't found anything that i could undestand how this proprely work.

My bases are:
[TFS 1.2] Modal Window Helper Lib (https://otland.net/threads/tfs-1-2-modal-window-helper-lib.238773/)
[How-to] Modal Windows (https://otland.net/threads/how-to-modal-windows.225398/)
Metatables for Lua by dalkon · Pull Request #27 · otland/forgottenserver (https://github.com/otland/forgottenserver/pull/27/commits/790ab135d258d4f802b17d76d0ea36f6bee7c3ed)

I iven tried the "doPlayerAddDialog"
doPlayerAddDialog and remove Get · Issue #38 · otland/forgottenserver (https://github.com/otland/forgottenserver/issues/38)

If someone has a tutorial or want to teach me i will be grateful.

My first idea is a book, that has pages, but no choices, only words and three buttons (next page, previous page and close), and imagens in the pages. The image i learned how to put with this system:
[TFS 1.2] Simple Crafting System. (https://otland.net/threads/tfs-1-2-simple-crafting-system.243470/page-4#post-2604527)

But let only text is the hard part to me.
 
Last edited:
Back
Top