playMaker

Author Topic: 1 action for multiple game objects  (Read 1442 times)

andycoke

  • Playmaker Newbie
  • *
  • Posts: 13
1 action for multiple game objects
« on: October 28, 2016, 01:00:51 PM »
What I'd like to do is set the position of 20 gameObjects to the same  position on a single event. The only way I know of how to do this is to create 20 separate 'set position' actions for every gameObject which seems crazy.

Is there a better way to do this?

Thanks in advance.
« Last Edit: September 28, 2017, 05:18:14 AM by andycoke »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: 1 action for multiple game objects
« Reply #1 on: October 28, 2016, 07:41:52 PM »
Hi,
You should look into arrays,

Here's an video about arrays :


You can find more tutorials on the user tutorial wiki page

andycoke

  • Playmaker Newbie
  • *
  • Posts: 13
Re: 1 action for multiple game objects
« Reply #2 on: October 29, 2016, 10:01:31 AM »
Perfect, great link.

Thanks djaydino.