How do I make Wait complete it's task after saving and loadi

Get help using Construct 2

Post » Sat Mar 22, 2014 2:29 am

I got this hunge issue: i've used the wait action to make the AI perform an action delayed, but when ever i save WHILE the wait is issued, when i load, it doesn't complete the actions after the "wait"

Is there a way to fix this?
B
65
S
22
G
4
Posts: 358
Reputation: 6,555

Post » Sat Mar 22, 2014 7:59 am

Hmm, I would probably not allow saving while the wait is happening. Either set a variable when the wait starts so "save" knows to wait, or set a variable when "save" is clicked, and start saves after the wait, if that variable is set.

Other than that, I would imagine you would need to store that the wait is underway so that when reloaded, you could detect it, and manually perform what should have happened.

Sorry I don't have a solution, but hopefully I sparked some ideas.
B
230
S
62
G
33
Posts: 902
Reputation: 40,319

Post » Sat Mar 22, 2014 4:43 pm

i've come up with the variable solution as well, for now, it's the only way to prevent game breaking issues :(
B
65
S
22
G
4
Posts: 358
Reputation: 6,555


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests