Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: 4ppleseed on January 24, 2017, 05:41:46 AM

Title: Random Event Weighting changing over time?
Post by: 4ppleseed on January 24, 2017, 05:41:46 AM
When using RandomEvent Weighting I want to select from 4 events. 3 with the same probability and 1 with a lower probabilty that increases every turn. Am I right in thinking I can set them like this:

EventA 1
EventB 1
EventC 1
EventD 0.1

and then next turn:

EventA 1
EventB 1
EventC 1
EventD 0.5

and the next:

EventA 1
EventB 1
EventC 1
EventD 0.7

Is that similar to these percentages?

EventA 1   32.5%
EventB 1   32.5%
EventC 1   32.5%
EventD 0.1   2.5%

EventA 1   29.2%
EventB 1   29.2%
EventC 1   29.2%
EventD 0.5   12.5%

EventA 1   27.08%
EventB 1   27.08%
EventC 1   27.08%
EventD 0.7   17.5%

Or have I got this wrong?
Thanks!
Title: Re: Random Event Weighting changing over time?
Post by: 4ppleseed on February 03, 2017, 06:48:57 AM
Bump.

Anyone know how the weighting translates to %?
Am I on the right track?

Thanks
Title: Re: Random Event Weighting changing over time?
Post by: Fat Pug Studio on February 03, 2017, 10:16:39 AM
They should all add up to 1. So if you want:

EventA 32.5%
EventB 32.5%
EventC 32.5%
EventD 2.5%

Then set weight to:

EventA 0,325
EventB 0,325
EventC 0,325
EventD 0,025
Title: Re: Random Event Weighting changing over time?
Post by: djaydino on February 03, 2017, 05:24:07 PM
Hi,
You can easily test this (sorry no sound) :


Title: Re: Random Event Weighting changing over time?
Post by: 4ppleseed on February 04, 2017, 04:37:56 PM
Hi,
You can easily test this (sorry no sound) :


Thanks! That's really interesting  8)