My Time Blocks Work Only Once [Solved]

kobebeef415

  • Posts: 9
Hunger Animation is set to 3 (which is the name of the animation) and every time it loops it supposed to set the animation plus 1 more number. The actor is a health bar with 20 segments. But every time I run it the time palete only last once and finshes in 5 seconds.

« Last Edit: September 21, 2020, 01:10:14 pm by kobebeef415 »

Luyren

  • *
  • Posts: 2368
Video on the subject: https://youtu.be/j10SMwy2prM?t=175
I left the timestamp on the part relevant to your problem, but do watch the whole thing (it's just 7 minutes).
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

kobebeef415

  • Posts: 9
I put, set to false and it doesn't go again

I'm trying to loop it over and over with a 1 second delay

Luyren

  • *
  • Posts: 2368
"Not (reducing = false)" is the same as "Reducing = true". Just check "if <not reducing>" as shown in the video.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

kobebeef415

  • Posts: 9
it shows in my picture that it's how you said

Luyren

  • *
  • Posts: 2368
As I said, you are checking if your boolean is true, then setting your boolean to true. That's not what the video shows, and your that doesn't limit the execution of your do after whatsoever. Check the video and look over your code one more time.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

kobebeef415

  • Posts: 9
ok see what you mean I corrected it and It worked thanks