mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
Modal Dialogs / Support for 9.70
OTC now supports showing and answering modal dialogs. addDialog(modaldialog, dialogId, cid, callback) TODO: -find out what the "popup" value does.. (Maybe someone knows)
This commit is contained in:
10
modules/game_modaldialog/modaldialog.otmod
Normal file
10
modules/game_modaldialog/modaldialog.otmod
Normal file
@@ -0,0 +1,10 @@
|
||||
Module
|
||||
name: game_modaldialog
|
||||
description: Show and process modal dialogs
|
||||
author: Summ
|
||||
website: www.otclient.info
|
||||
sandboxed: true
|
||||
dependencies: [ game_interface ]
|
||||
scripts: [ modaldialog.lua ]
|
||||
@onLoad: init()
|
||||
@onUnload: terminate()
|
Reference in New Issue
Block a user