Yes, i know about "random" option of current folder objective. But it chose events from list with equal chance. Sometimes quest need to launch events with different chances (yes, i know about random condition in dialog, but not all actions have need in conversation e.g. quest for mob killing for specific rare loot).
So... Is possible to create analog for FOLDER objective for launching one objective from list with given chance?
Something like:
randomfolder objective1:75,objective2:10,objective3:15
where 75, 10, 15 - chances for each event to launch (total=100%)
Just put the event in more then once, for example if you do folder event1,event1,event2 random:1 it will be 2 times more likely to select event1
Yes, this can work, if one event must run more often (2-3 times) then other. But if you have bunch of different events (10+) or if one event must appear very rare (e.g. 80%-19%-1%) then put 100+ events in folder list is unwise :)
Yea I'll look into creating something like randomfolder 50%event1,25%event2,25%event3.
I think this is more intuitive than what you suggested :thinking:
Definitely - yes. This is much more intuitive :) Thank You
It's a good idea. And more readable for others when writing quests.
Just created a PR for it. I renamed it to pickrandom as it does not have the full functionallity of the folder event (no delay).
Most helpful comment
Yes, this can work, if one event must run more often (2-3 times) then other. But if you have bunch of different events (10+) or if one event must appear very rare (e.g. 80%-19%-1%) then put 100+ events in folder list is unwise :)