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
) »
Having something either wait or complete [SOLVED]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Having something either wait or complete [SOLVED] (Read 945 times)
Rickytv
Playmaker Newbie
Posts: 2
Having something either wait or complete [SOLVED]
«
on:
January 16, 2019, 05:58:07 PM »
I am kind of stuck in a way that I want something to stay on the state as long as a button is held but if it's not held still wait the amount of time. On the state is an interpolate action that I want to play still for a few seconds if the button is not held but do not know how to approach this spoken situation and I am in an utter predicament. any help is well thanked
. What I am looking is possibly an alternative to an "or" statement or something. or a way to have the "wait" action in said state trigger a boolean while with other actions running in one state.
«
Last Edit: January 17, 2019, 11:17:52 AM by Rickytv
»
Logged
djaydino
Administrator
Hero Member
Posts: 7616
Re: Having something either wait or complete
«
Reply #1 on:
January 16, 2019, 10:59:02 PM »
hi.
1st think that comes in my mind is the have the interpolate in a separate fsm
and on the main fsm when button released go to next state, have a wait.
Then after wait, send event to the fsm with the interpolate to stop the interpolate.
Here is a video on events / global events
//www.youtube.com/watch?v=eNl7ZEljcdg
Logged
Join the PlayMaker Discord Channel!
Rickytv
Playmaker Newbie
Posts: 2
Re: Having something either wait or complete [SOLVED]
«
Reply #2 on:
January 17, 2019, 11:23:11 AM »
Thank you very much, I used a wait inside an fsm template which had a wait and a set bool value which if the held button was false and the finished wait was done and sent a false, would go to next event.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Having something either wait or complete [SOLVED]