playMaker

Author Topic: Array Get Random Weighted  (Read 210 times)

escpodgames

  • Hero Member
  • *****
  • Posts: 682
    • View Profile
    • Assets
Array Get Random Weighted
« on: March 21, 2019, 02:25:53 PM »
Hi,

I had an idea for a super useful action for both array maker and built in arrays.

A random Array action that has a curve to determine the weighting of the random.

For example if you had 5 items in the array but you want to randomly select more of the lower value items (if sorted by value) you could great a curve that favors the lower values.

Thoughts?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14014
  • Official Playmaker Support
    • View Profile
Re: Array Get Random Weighted
« Reply #1 on: April 03, 2019, 01:21:18 AM »
Hi,

 good idea. I'll work on that.

 can you bump me next week if you haven't heard back? thanks :)

 Bye,

 Jean

escpodgames

  • Hero Member
  • *****
  • Posts: 682
    • View Profile
    • Assets
Re: Array Get Random Weighted
« Reply #2 on: April 11, 2019, 11:49:13 PM »
Bump :)