GUI Template for embedded timed loops

Bribe

Code Moderator
Level 47
Joined
Sep 26, 2009
Messages
9,166
Uses Lua and works best with PreciseWait

  • Embedded Timed Loop
    • Events
    • Conditions
    • Actions
      • -------- Enclose the below in an empty if/then/else to ensure ease of copy&paste --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
        • Then - Actions
          • Custom script: while true do --Required custom script 1 of 3
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • Should we continue the loop? Equal to Y or N?
            • Then - Actions
              • Wait 0.03 seconds
              • -------- Do stuff after the wait --------
            • Else - Actions
              • -------- Wrap anything up before exiting the loop --------
              • Custom script: break --Required custom script 2 of 3
          • Custom script: end --Required custom script 3 of 3
        • Else - Actions
Last edited:
Top