plinkie ok I can see that would definitely work. But it would actually involve more steps that simply putting choose(0,0,0,1,1,2).
I guess Im hoping to figure out a mathematical solution where I could weight the values within a single expression... Im not sure if its possible.
So in non-programmer terms Im trying to say something like:
On Event > Set Variable: (50% of the time return = 0, 30% of time return = 1, 20% of the time return = 2)
Without the need to have additional conditions.. if that makes sense.
And beyond this, Id like to have a solution that could be adapted in other instances to allow for more possible values. Like... in some other cases I might want to return values of 0,1,2,3,4... each with different probabilities.