Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Player:doModalDungeon()
- local window = ModalWindow(NEW_DUNGEON.dungeonModal, "Dungeon", "Decide if you will go [Alone] or by [Group].")
- window:addButton(1, "Choose")
- window:addButton(2, "Exit")
- window:addChoice(1, "Alone")
- window:addChoice(2, "Group [Only in Party]")
- window:setDefaultEnterButton(1)
- window:setDefaultEscapeButton(2)
- window:sendToPlayer(self)
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement