Guest User

broken dialogue script

a guest
Jan 26th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. <!--Saved by Quest 5.8.6836.13983-->
  2. <asl version="580">
  3. <include ref="English.aslx" />
  4. <include ref="Core.aslx" />
  5. <game name="project1">
  6. <gameid>70a906c5-e6ce-4497-8b5b-c460a189e1b6</gameid>
  7. <version>1.0</version>
  8. <firstpublished>2019</firstpublished>
  9. </game>
  10. <object name="room">
  11. <inherit name="editor_room" />
  12. <isroom />
  13. <object name="player">
  14. <inherit name="editor_object" />
  15. <inherit name="editor_player" />
  16. </object>
  17. <object name="Bob">
  18. <inherit name="editor_object" />
  19. <speak type="script">
  20. msg ("\"What's up?\"")
  21. FirstBobDialogue = NewStringList()
  22. list add (FirstBobDialogue, "You stink!")
  23. list add (FirstBobDialogue, "MARRY ME!")
  24. ShowMenu ("\"You got something to say?\"", FirstBobDialogue, false) {
  25. if (result = "You stink!") {
  26. msg ("\"Well screw you too!\"")
  27. }
  28. else if (result = "MARRY ME!") {
  29. msg ("Uh...")
  30. }
  31. else {
  32. msg ("null")
  33. }
  34. }
  35. </speak>
  36. </object>
  37. </object>
  38. <turnscript>
  39. <enabled />
  40. </turnscript>
  41. </asl>
Advertisement
Add Comment
Please, Sign In to add comment