Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: krisz on January 18, 2021, 05:06:29 AM

Title: Communication between FSM-s.
Post by: krisz 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
Title: Re: Communication between FSM-s.
Post by: heavygunner 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
Title: Re: Communication between FSM-s.
Post by: djaydino on January 18, 2021, 06:59:36 AM
Hi.

Maybe these videos can help :


Title: Re: Communication between FSM-s.
Post by: krisz 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!
Title: Re: Communication between FSM-s.
Post by: krisz 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