On my dialogue response node I would like to call a Global Transition on an FSM. For example, when I choose "Follow me", I would like the dialogue child node to say ok (which is set up), and then execute a Playmaker FSM. I just can't figure out how to use the Playmaker Lua Functions to select the FSM, then choose the "Follow" global transition. Any help would be appreciated!
https://pixelcrushers.com/dialogue_syst ... akerEvents
Thanks!
How to call a Global Transition on a Playmaker FSM?
-
- Posts: 13
- Joined: Fri Nov 01, 2024 2:56 pm
Re: How to call a Global Transition on a Playmaker FSM?
Hi,
Let's say your FSM is on a GameObject named "Adam", and you want to invoke a Playmaker event named "Follow". Then use this sequencer command:
Let's say your FSM is on a GameObject named "Adam", and you want to invoke a Playmaker event named "Follow". Then use this sequencer command:
Code: Select all
FSMEvent(Follow, Adam)
-
- Posts: 13
- Joined: Fri Nov 01, 2024 2:56 pm
Re: How to call a Global Transition on a Playmaker FSM?
Perfect, thanks!
Re: How to call a Global Transition on a Playmaker FSM?
Glad to help!