Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Jendy on October 28, 2022, 09:56:20 AM
-
I'm having a problem with the Wait action, I created a float variable and associated with Wait time. The first time I activate that state, he moved on to the next state without waiting. But the following times that I activate the first state the Wait works. Where is I wrong?
-
Hi Can you show your fsm setup
-
Have you tried creating a finished custom event?
That should solve it, also check if you have real time enabled.
-
Hi Can you show your fsm setup
(https://i.imgur.com/rtLJoNA.jpeg)
Moreover, if I interrupt the action before the "holdweight", the Wait continues not to work. Only after carrying out the animation does Wait start to work the following times.
1.9.5 unity 2022.2b10
Thank you for your time.
-
Get / Set Property is slow (as its mirroring)
Therefore the wait already started before you get the "holdWeight" Data.
try setting the Wait action in a state between state 3 and state 4.
-
Get / Set Property is slow (as its mirroring)
Therefore the wait already started before you get the "holdWeight" Data.
try setting the Wait action in a state between state 3 and state 4.
(https://i.imgur.com/zH8akNI.gif)
Thanks, I tried but the problem persists.
-
HI.
Set a breakpoint on state 3b (right click the state label)
then on the first time look to the holdWeigt variable value.
to see if its not 0 (or a very low number)
-
HI.
Set a breakpoint on state 3b (right click the state label)
then on the first time look to the holdWeigt variable value.
to see if its not 0 (or a very low number)
(https://i.imgur.com/MzkCCJY.png)
Nothing, it's 0, what else could this conflict cause?
-
Hi.
The issue might be in the script where you get the value.
with the get property it seems to get a 0 value.
thy to set it in a state after the set property actions (it might be that these values need to be set before getting the value