Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
- 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.
- 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
- Thanks,
- Oscar
- =======================================
- checkpoint:
- name: 'trigger_checkpoint'
- starts_directly: false
- starts_at: DEATH
- objects:
- DEATH:
- message: 'You died noob'
- type: PLAYER_DIE
- amount: '1'
- goto: OBJECT test
- test:
- type: CONDITIONS
- conditions:
- goto: OBJECT DEATH
- goto_if_not_valid: OBJECT 2
- required_not_valid: '0'
- required_valid: '1'
- conditions:
- 1:
- type: QUEST_WENTTHROUGH_OBJECT
- branch: 'END'
- object: 'END_1'
- quest: 'wizard'
- 2:
- type: SERVER_PLAYER_TELEPORT
- location:
- base: hub,3537,127,-990
- goto: OBJECT 3
- 3:
- type: SERVER_COMMANDS_PERFORM
- only_for_role: LEADER
- sound:
- type: ENTITY_GHAST_SCREAM
- commands:
- - 'b butcher hub WizardNoAI'
- - 'b butcher hub Wizard1'
- - 'b butcher hub Webby'
- - 'b butcher hub Necrobone'
- - 'b butcher hub Ravager1'
- - 'b butcher hub Warspectre'
- - 'b butcher hub Takatur'
- - 'b butcher hub Bawler'
- - 'b butcher hub Piggy'
- - 'b butcher hub Wizard2'
- goto: OBJECT 4
- 4:
- type: SERVER_TITLE_SEND
- sound:
- type: ENTITY_GHAST_SCREAM
- title:
- title: '&aThe Loneley Tower'
- subtitle: '&aA Player has died! Continue?'
- fade_in: 10
- duration: 100
- fade_out: 10
- goto: OBJECT 5
- 5:
- name: 'Died'
- progress_name: 'Continue?'
- type: DIVERGE
- choices:
- 1:
- text: '&3Try again.'
- redo_text: '&3Try again.'
- goto: OBJECT DEATH
- goto: BRANCH TOWER_2
- 2:
- text: '&cForfeit. (Cancel Quest)'
- redo_text: '&cForfeit. (Cancel Quest)'
- goto: QUEST_FAIL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement