playMaker

Author Topic: Send event to one FSM  (Read 1687 times)

IIKII

  • Full Member
  • ***
  • Posts: 137
  • Lonely developer
    • Patreon
Send event to one FSM
« on: September 11, 2016, 05:41:26 AM »
Hi,

I have a gameobject FSM that has 2 global events.

I trigger the first event successfully through send event from another gameobject. But I can't trigger the second event at all because the first one is still active.

Anyone knows the solution? thanks

Updated~

The first event is 'Rotation' which somehow it stops the state from moving. Once i change to another action, it works fine..

« Last Edit: September 11, 2016, 06:41:39 AM by iikii »
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Send event to one FSM
« Reply #1 on: September 11, 2016, 08:57:13 AM »
Hi,
Is the second event triggered at the same time?
If so it will not work as there can be only one state active.
If not can you make a video showing the problem and show the states / actions

IIKII

  • Full Member
  • ***
  • Posts: 137
  • Lonely developer
    • Patreon
Re: Send event to one FSM
« Reply #2 on: September 11, 2016, 10:03:17 AM »
Actually i manage to get it working now.
The second event is not triggered at the same time but it didn't get activated. I realized that the problem is due to using the 'Rotation' action. When i replaced that action with a different one, it works.
Thanks for the reply though :p
Support me on Patreon for free adventure games and development insights - https://www.patreon.com/koexstudio

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Send event to one FSM
« Reply #3 on: September 11, 2016, 07:22:15 PM »
Hi,
It should work so it might be a bug,
What is the exact action name that you had problems with (get rotation / set Rotation / other)
What version of unity and playmaker are you using?
Can you make a video or share your project or scene to see what the problem is?

I tried with some of the rotation actions but everything seems to work at my end.