playMaker

Author Topic: Communication between FSM-s.  (Read 1027 times)

krisz

  • Playmaker Newbie
  • *
  • Posts: 5
Communication between FSM-s.
« on: January 18, 2021, 05:06:29 AM »
[img]Hello everyone!
I use Playmaker for a month and i try to make a light switch.  I like to have more switch and i want to the switch FSM shut reach the FSM of the Light.
I try with "get FSM" and "set FSM" but i don't find the right one.
I hope someone is so kind to help me. How can i send the information Get Key Down to other FSM?
How can i make to Start the FSM (Light) yust if the information is sended?
I try a lot, but i don't make it.
I hope someone can help.
Thanks!

krisz

heavygunner

  • Sr. Member
  • ****
  • Posts: 344
Re: Communication between FSM-s.
« Reply #1 on: January 18, 2021, 05:31:24 AM »
You can use SEND EVENT and send the event to gameobject or other FSM
Check Event Target
https://hutonggames.fogbugz.com/default.asp?W34

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Communication between FSM-s.
« Reply #2 on: January 18, 2021, 06:59:36 AM »

krisz

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Communication between FSM-s.
« Reply #3 on: January 18, 2021, 08:19:46 AM »
Thanks for a quick answers!
I try the SEND EVENT and i watch the videos!
Thanks again!

krisz

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Communication between FSM-s.
« Reply #4 on: January 19, 2021, 12:32:32 PM »
Hello!
I Try it out the SEND EVENT and it works with it! The videos was also useful!
Thanks for take the time for helping me!

krisz