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
) »
Subroutine?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Subroutine? (Read 1520 times)
TokyoDan
Playmaker Newbie
Posts: 9
Subroutine?
«
on:
April 19, 2014, 05:46:20 AM »
Id there a way to make a subroutine that can be called from various FSMs and when that subroutine end, it returns to the next statement in the FSM from which it was called? And it cane be called from within various other FSMs?
Logged
Bjakuja
Junior Playmaker
Posts: 75
Re: Subroutine?
«
Reply #1 on:
April 19, 2014, 07:47:47 AM »
You can use action GoToPreviousState and it will return to previous state on current FSM.
To call events from other FSMs you have to use global events and to use action SendEvent. Does this make sense? Can you be more specific about what you want to achieve?
Cheers!!!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Subroutine?