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:
Samuel
2012-11-27 14:48:48 +01:00
parent bce8e90ede
commit eb979ef7cd
11 changed files with 217 additions and 11 deletions

View 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()