playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
SubFSMs. How to pass an event to the parent FSM?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: SubFSMs. How to pass an event to the parent FSM? (Read 1469 times)
GarthSmith
Playmaker Newbie
Posts: 31
Games. Math. Code.
SubFSMs. How to pass an event to the parent FSM?
«
on:
July 09, 2014, 08:58:51 PM »
Hello! I searched around for this info for a bit. Most of the forum posts I found were a few years old.
Two quick questions.
Is the
Run FSM
action still the way to implement a sub FSM?
Do I need to write a custom run FSM action to get events/data from the sub FSM to the parent FSM?
Our player can either "finish" or "cancel" the sub FSM and our parent FSM would like to know which. I can write a custom action no problem if necessary. My question is mainly, "Is it necessary?"
«
Last Edit: July 09, 2014, 09:21:23 PM by GarthSmith
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: SubFSMs. How to pass an event to the parent FSM?
«
Reply #1 on:
July 10, 2014, 09:29:17 AM »
Hi,
yes, this is still the case.
when you send an event you will choose "host fsm" as the send option, have you tried that?
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
SubFSMs. How to pass an event to the parent FSM?