Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. I want the branch to progress if the object in the condition has not been passed and if the condition is met, then the branch can end.
  2. The problem is, if you die, it's supposed to do something and then loops. However, it is not doing as it should. The condition object just stops anything from happening without giving an error message.
  3.  
  4. The branch works fine without the condition. We add the condition and it doesn't work. I don't know if the condition is wrong or if the conditions aren't working as they should? Here's is my code, please advice. Using QuestCreator v5.13.0 and GCore 7.9.2
  5.  
  6. Thanks,
  7. Oscar
  8. =======================================
  9. checkpoint:
  10. name: 'trigger_checkpoint'
  11. starts_directly: false
  12. starts_at: DEATH
  13. objects:
  14.  
  15. DEATH:
  16. message: 'You died noob'
  17. type: PLAYER_DIE
  18. amount: '1'
  19. goto: OBJECT test
  20.  
  21. test:
  22. type: CONDITIONS
  23. conditions:
  24. goto: OBJECT DEATH
  25. goto_if_not_valid: OBJECT 2
  26. required_not_valid: '0'
  27. required_valid: '1'
  28. conditions:
  29. 1:
  30. type: QUEST_WENTTHROUGH_OBJECT
  31. branch: 'END'
  32. object: 'END_1'
  33. quest: 'wizard'
  34.  
  35. 2:
  36. type: SERVER_PLAYER_TELEPORT
  37. location:
  38. base: hub,3537,127,-990
  39. goto: OBJECT 3
  40.  
  41. 3:
  42. type: SERVER_COMMANDS_PERFORM
  43. only_for_role: LEADER
  44. sound:
  45. type: ENTITY_GHAST_SCREAM
  46. commands:
  47. - 'b butcher hub WizardNoAI'
  48. - 'b butcher hub Wizard1'
  49. - 'b butcher hub Webby'
  50. - 'b butcher hub Necrobone'
  51. - 'b butcher hub Ravager1'
  52. - 'b butcher hub Warspectre'
  53. - 'b butcher hub Takatur'
  54. - 'b butcher hub Bawler'
  55. - 'b butcher hub Piggy'
  56. - 'b butcher hub Wizard2'
  57. goto: OBJECT 4
  58.  
  59. 4:
  60. type: SERVER_TITLE_SEND
  61. sound:
  62. type: ENTITY_GHAST_SCREAM
  63. title:
  64. title: '&aThe Loneley Tower'
  65. subtitle: '&aA Player has died! Continue?'
  66. fade_in: 10
  67. duration: 100
  68. fade_out: 10
  69. goto: OBJECT 5
  70.  
  71. 5:
  72. name: 'Died'
  73. progress_name: 'Continue?'
  74. type: DIVERGE
  75. choices:
  76. 1:
  77. text: '&3Try again.'
  78. redo_text: '&3Try again.'
  79. goto: OBJECT DEATH
  80. goto: BRANCH TOWER_2
  81.  
  82. 2:
  83. text: '&cForfeit. (Cancel Quest)'
  84. redo_text: '&cForfeit. (Cancel Quest)'
  85. goto: QUEST_FAIL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement