Help With Caveman loop stop Topic is solved

Ask gaming related questions
Posts: 32
Joined: 26 Jan 2018, 19:54

Help With Caveman loop stop

21 Feb 2018, 05:54

I´m trying to stop a loop from jumbling variable indexes and running while its subs do not finish.
I fixed the variable problem with a variable translation.
I partially fixed the subs running over each other with a msgbox. Wouldn´t help with subsequent subs called by the sub. Those would jumble with the loop subs.
I ended up with this:

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Does anyone want to share a civilized approach to this?
Thanks for the attention and regards
Posts: 796
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Help With Caveman loop stop  Topic is solved

22 Feb 2018, 13:59

you have a problem.
Each of your "Continue" commands
causes the loop to start over before it reaches one of your MsgBoxes!
Posts: 32
Joined: 26 Jan 2018, 19:54

Re: Help With Caveman loop stop

22 Feb 2018, 17:44

Thanks for the reply!
Yeah I forgot to remove the messageboxes!
I was using them to try to stop the loop but I found another solution.
I realized there could be only one type per hotkey so I used the first sub to Break, then the last sub of the sub sequence add index to the loop count variable and restart the loop :)
Thanks again for the Reply!

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 11 guests