playMaker

Author Topic: FSM on Instantiated object[SOLVED]  (Read 1875 times)

wibble666

  • Playmaker Newbie
  • *
  • Posts: 4
FSM on Instantiated object[SOLVED]
« on: October 25, 2012, 09:13:37 AM »
I have a prefab with a Simple FSM which simply plays an anim when touched , the play animation action is set to "use owner" and play "anim 01" which is the only anim available on that object. If i have one of the these prefabs in the scene everything is fine however if i have multiple prefabs instantiated tapping one of the prefabs will cause the anim to be played on all the others!
Is there a way to stop this or anotherway around the problem?

Thanks in advance!
« Last Edit: October 26, 2012, 02:08:47 AM by jeanfabre »

wibble666

  • Playmaker Newbie
  • *
  • Posts: 4
Re: FSM on Instantiated object
« Reply #1 on: October 25, 2012, 10:05:07 AM »
Sorted, i was being a complete idiot and used "touch event" not a "touch object event" so every prefab got the message not just the object touched !