playMaker

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

escpodgames

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14388
  • 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: 686
    • View Profile
    • Assets
Re: Array Get Random Weighted
« Reply #2 on: April 11, 2019, 11:49:13 PM »
Bump :)

escpodgames

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14388
  • Official Playmaker Support
    • View Profile
Re: Array Get Random Weighted
« Reply #4 on: May 16, 2019, 11:00:40 PM »
Hi,

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

Bye,

 Jean

escpodgames

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14388
  • Official Playmaker Support
    • View Profile
Re: Array Get Random Weighted
« Reply #6 on: May 21, 2019, 04: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: 686
    • View Profile
    • Assets
Re: Array Get Random Weighted
« Reply #7 on: May 22, 2019, 12:55:30 AM »
Thank you so much!!! Works amazingly :)
« Last Edit: May 22, 2019, 01:08:49 AM by escpodgames »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14388
  • Official Playmaker Support
    • View Profile
Re: Array Get Random Weighted
« Reply #8 on: June 05, 2019, 01: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