playMaker

Author Topic: Order an array  (Read 984 times)

Angiel

  • Playmaker Newbie
  • *
  • Posts: 2
Order an array
« on: May 02, 2019, 12:07:15 PM »
Hi
In the scene I have 3 cubes, red, black, blue. Each cube has a life variable associated with it.
Red cube life = 7, black cube life = 5, blue cube life = 12.
Is it possible with Playmaker to create an array (or list) that orders me cubes based on the life variable? So:
Blue cube life = 12
red cube life = 7
Black cube life = 5.
Thanks 1000!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: Order an array
« Reply #1 on: May 02, 2019, 05:52:59 PM »
Hi.
Maybe this tutorial can get you in the right direction :


Angiel

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Order an array
« Reply #2 on: May 05, 2019, 03:43:46 AM »
Thank you for the link.