Make IPS_SetScriptTimer stop after some cycles

Hi, I can’t find the way to solve a problem with a timer. I have a generator, and I made a script to start it. If it doesn’t run, IPS_SetScriptTimer is created to start it again after 1 minute. I would like it to stop the loop after 3 or 4 attempts. Any ideas?

You habe to Count the attemps in a seperat variable and set the Script Timer to 0, If you want to Stop the cycles.

Ah, such a simple solution, yet never crossed my mind. Thank you!

Best, Miha

1 „Gefällt mir“