Cliffworms wrote: ↑Tue Jun 08, 2021 1:33 pm
I did a quick test in-game to reproduce the bug you mentioned, but to no avail. I tried fast travelling between cities several times and I always had one event show up.
At all times only one instance of the RLQinit quest was running.
With the bug there's only one RLQinit in existence; the problem is that the weather condition persists after the weather changes. If I go from city A where it's raining to city B where it's sunny, it'll trigger a rainy event
and a sunny event at the new town because the rain condition doesn't shut off. I'd consider that buggy behavior for the new weather condition, but perhaps it's intentional.
Should it happen again, maybe setting a variable that's used as additional condition when choosing the quest? It could be a failsafe.
For example :
Code: Select all
variable _eventshown_
_sunnyday_ task:
when _daylight_ and _sunning_ and _smalldelay_ and not _eventshown_
pick one of _loan_ _potionsale_ _dud_ _dud_ _dud_ _dud_
setvar _eventshown_
I agree that it would resolve the problem (and that's actually better than what I would've thought of, thank you), but I hesitate to add that new part to every single line. It's going to make the whole file much, much longer when we add a lot of events. If the weather condition stays the same, it may be my only option.
While camping, a guy needed help killing a rat.
I refuse to believe this! He said he was helping you, not the other way around!
These are supposed to trigger in cities only, so I'm not sure how it happened while you were camping. Perhaps there's more to do here...
Great job! Although, these events are distracting during the rest after training. My character is starting to hate these "stupid pesants" (as in the classmaker)
![Smile :)](./images/smilies/icon_e_smile.gif)
Hmm, another time that the events are triggering out of order. They're supposed to happen only once every 15 hours. Where is this happening for you? I might have to do what Cliffworms said and make an absolutely buffer against duplicate events.