Advertisement
Guest User

Untitled

a guest
Jul 12th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. function Player:doModalDungeon()
  2. local window = ModalWindow(NEW_DUNGEON.dungeonModal, "Dungeon", "Decide if you will go [Alone] or by [Group].")
  3. window:addButton(1, "Choose")
  4. window:addButton(2, "Exit")
  5. window:addChoice(1, "Alone")
  6. window:addChoice(2, "Group [Only in Party]")
  7. window:setDefaultEnterButton(1)
  8. window:setDefaultEscapeButton(2)
  9. window:sendToPlayer(self)
  10. return true
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement