Betonquest: Quest based on time

Created on 18 Nov 2016  路  2Comments  路  Source: BetonQuest/BetonQuest

Hello,

I am trying to make a quest for a player who has to reach an certain objective in time. For example you need to race against the clock by climbing a building. You get the quest via a Npc. If you make it within the time , which is a condition, you will get rewarded. If you don't make it in time and you go back to your npc he will say : You failed, you were to slow, Wanna try it again?
Now ofcourse I know about the certain options we have right now. With the time variable in event/objective list. Only this is the certain time of the minecraft day, not a time based variable.
I tried to make it with the available options we have right now. Although It didn't work out for me. I was hoping if somebody had an idea how to make this or maybe if it is even possible at all? I have the feeling I can't make it right now, but maybe I am wrong.

Thanks for your help!

Grt.

Support Question

All 2 comments

Mh, spontaneous:

  • you can use an folder event with delay that will cancel an objective or give a tag after the time
  • you can use an delay objective that will fire an "fail"-event after the time

Yes, it should be done with folder event. This should run delayed tag event with a tag condition:

# (events.yml)
timer: folder fail delay:60
fail: tag add failed condition:!passed
# (conditions.yml)
passed: tag pass

Here, it will add _failed_ tag after 60 seconds only if the player doesn't have _pass_ tag already. You can add that tag in the objective.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MentosVagabond picture MentosVagabond  路  4Comments

Wolf2323 picture Wolf2323  路  4Comments

Namnodorel picture Namnodorel  路  6Comments

MWFIAE picture MWFIAE  路  5Comments

NotJustPizza picture NotJustPizza  路  3Comments