playMaker

Author Topic: Array Get Random Weighted[SOLVED]  (Read 3726 times)

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Array Get Random Weighted[SOLVED]
« on: March 21, 2019, 05: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?
« Last Edit: June 05, 2019, 04:23:34 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Array Get Random Weighted
« Reply #1 on: April 03, 2019, 04: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: 687
    • Assets
Re: Array Get Random Weighted
« Reply #2 on: April 12, 2019, 02:49:13 AM »
Bump :)

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Array Get Random Weighted
« Reply #3 on: May 06, 2019, 06:14:26 AM »
Bump

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Array Get Random Weighted
« Reply #4 on: May 17, 2019, 02:00:40 AM »
Hi,

 right, I need to get on this! thanks for the bumps, I need them!

Bye,

 Jean

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Array Get Random Weighted
« Reply #5 on: May 17, 2019, 05:46:48 PM »
Hehe, Thanks a ton Jean :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Array Get Random Weighted
« Reply #6 on: May 21, 2019, 07:30:40 AM »
hi,

 It's on the ecosystem: ArrayGetRandomCurvedWeighted

 let me know how it goes for you, if you like it, I'll promote and do the arrayMaker variant

 Bye,

 Jean

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Array Get Random Weighted
« Reply #7 on: May 22, 2019, 03:55:30 AM »
Thank you so much!!! Works amazingly :)
« Last Edit: May 22, 2019, 04:08:49 AM by escpodgames »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Array Get Random Weighted
« Reply #8 on: June 05, 2019, 04:23:24 AM »
Hi,

 ArrayMaker got the same treatement, so you have the same action now, simply get the latest arraymaker from the ecosystem

Bye,

 Jean