playMaker

Author Topic: Unexpected button problem -not working-  (Read 1081 times)

VascBogdan

  • Full Member
  • ***
  • Posts: 118
    • View Profile
Unexpected button problem -not working-
« on: March 16, 2015, 08:53:24 AM »
Ok, I've just made a button exactly like another one, but this one is not working, for no reason. I compared both scripts and they are the same (except the names).
I tried with both global and normal events.
I just recorded a video so you can understand better:
https://www.youtube.com/watch?v=8g44iEXfBRc&feature=youtu.be

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2488
  • Mender of the past
    • View Profile
    • Cleverous
Re: Unexpected button problem -not working-
« Reply #1 on: March 16, 2015, 12:51:31 PM »
Did you drag the specific FSM to that slot, or the GameObject?

Sometimes if you put the GameObject there and it has more than one FSM then it can get confused and just send it to the first FSM script.

Try sending an event from that button to a new gameobject that only has one FSM on it.

VascBogdan

  • Full Member
  • ***
  • Posts: 118
    • View Profile
Re: Unexpected button problem -not working-
« Reply #2 on: March 17, 2015, 06:38:15 AM »
Yes, that was the problem. Thank you again.