playMaker

Author Topic: Wait Action never finishes when returning to scene.[SOLVED]  (Read 1893 times)

JohnLabern

  • Playmaker Newbie
  • *
  • Posts: 6
Wait Action never finishes when returning to scene.[SOLVED]
« on: October 18, 2018, 07:33:08 PM »
Hey there, I've been using Playmaker for a while but this is the first time I encounter something I'm not able to solve.

Situation:
- I start the application with a main title scene, this scene has some FSMs with the Wait function. They work correctly.
- I load my saved game, main title scene gets unloaded and a new one loaded.
- Using my options menu I return to title screen: game scene gets unloaded and main title gets loaded. Only main title scene is loaded like if application was just launched.
- All fsms that require waiting and worked the first time get stuck (Wait, time interpolations, etc.) I can't do anything there.
- ???

Attached a screenie, as it can be seen the state just remains stuck in the Action never finishing.
Any help would be appreciated -JL

« Last Edit: October 19, 2018, 06:01:30 PM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: Wait Action never finishes when returning to scene.
« Reply #1 on: October 19, 2018, 03:38:13 AM »
Hi.
Do you have a "FINISHED" transition set on the state and are there no errors in the console?

JohnLabern

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Wait Action never finishes when returning to scene.
« Reply #2 on: October 19, 2018, 07:21:41 AM »
Hey djaydino, thanks for answering.
Yeah, everything is set correctly. As I said, the first time I'm in the title screen every fsm works correctly... but when I return there the second time (after I press 'go back to main menu' for example) it just doesn't. It only works again when I restart the game and only the first time executed.

Attached a better picture, the state just remains there not finishing, which is weird. I can record a video if needed.

Edit: Yeah, no errors in console either.
« Last Edit: October 19, 2018, 07:26:24 AM by JohnLabern »

JohnLabern

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Wait Action never finishes when returning to scene.
« Reply #3 on: October 19, 2018, 08:04:25 AM »
Djaydino, nevermind, the problem had to do with time scale of course...
If I set it to 0 when I go to options and I don't reset it to 1 when I'm going back to main menu... well, naturally all time actions get bugged...

Mark it as solved or just delete the topic.
Soz  :)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: Wait Action never finishes when returning to scene.[SOLVED]
« Reply #4 on: October 19, 2018, 06:01:16 PM »
Hi.
I am happy you got it to work.

i have marked it solved.
By the way you can mark it solved by editing the title on the 1st post :)

We never delete a topic as it is always possible it will help someone.
(unless some ad spammer made a topic)