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:
Playmaker 1.9.1 Released!
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Possible to start transition from another FSM? [SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Possible to start transition from another FSM? [SOLVED] (Read 2002 times)
Adam Z
Full Member
Posts: 207
Possible to start transition from another FSM? [SOLVED]
«
on:
October 11, 2017, 05:15:10 PM »
I have UI buttons that have a "Play Maker U Gui Component Proxy" attached. I also have an FSM on that button which gets triggered with ON CLICK.
I also have a Game Object with has an FSM on it to Enable and Disable my GUI panels. Those are enabled/disabled within the different states. As an example; the FSM starts on the Main Menu state. When the "To Single Player" event occurs, it transitions to the Single Player state.
What I'm trying to do is have the button FSM tell the Game Object FSM to transition to a different state, using an Event? Is that possible?
Thanks.
«
Last Edit: October 12, 2017, 05:21:45 PM by Adam Z
»
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Possible to start transition from another FSM?
«
Reply #1 on:
October 12, 2017, 02:41:37 AM »
Hi,
yes, you use send event and target that fsm you want to transit, the transition must be a global event however.
bye,
Jean
Logged
Adam Z
Full Member
Posts: 207
Re: Possible to start transition from another FSM?
«
Reply #2 on:
October 12, 2017, 05:21:33 PM »
Perfect, thanks.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Possible to start transition from another FSM? [SOLVED]