Integer help

Smygarn777

Member
Reaction score
6
Does someone know how to trigger for a timer to be repeated for limited times?

In the case im making, i have a timer that would repeat 3 times using an integer set at 3. Example here below:

Example.JPG


Quite simply, its designed to repeat for as long as the integer is above 0, and every time it returns true, it will repeat and decrease the integer by one.
But the problem i have, is that its not lowering the integer value at all.

Someone knows how to fix this?
Thanks in advance, im waiting with patience.
 

T.s.e

Wish I was old and a little sentimental
Reaction score
133
Trigger:
  • Untitled Trigger 001
    • Events
    • Conditions
    • Actions
      • Set MiniConvoyRepeats = 3
      • For each Integer A from 0 to 3, do (Actions)
        • Loop - Actions
          • Set MiniConvoyRepeats = (MiniConvoyRepeats - 1)
          • -------- And do your actions. --------

This loop will repeat itself 3 times, until MiniConvoyRepeats is 0. Just fill in your actions below the set in the loop.

Also, quite the wrong forum :p
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
why you need this:

Set MiniConvoyRepeats = (MiniConvoyRepeats - 1)?

it will run the actions 4 times btw

EDIT: hey did you just pressed the
edit.gif
button and rewrote something? :p
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top