mrlewcc
2013-09-28 14:09:14
So I want to make my Loop repeat until a condition is met or until another condition is met to make it more effective I know how to simply loop until, I am thinking I will need a while loop but I have no idea how to do while loops.
Also inside one of my other loops I need it to keep going so I do this "i := (i + 1);" at the bottom of the repeat but it only needs to do it up to 28 times whereas it keeps repeating over and over and won't stop is there any way of making it once it =28 to start from the beginning however I can't do it as a normal loop since I have it inside of "repeat untilAllPlayersInactive"
Could anyone help me out please or just push me in the right direction.
Thanks :)
Also inside one of my other loops I need it to keep going so I do this "i := (i + 1);" at the bottom of the repeat but it only needs to do it up to 28 times whereas it keeps repeating over and over and won't stop is there any way of making it once it =28 to start from the beginning however I can't do it as a normal loop since I have it inside of "repeat untilAllPlayersInactive"
Could anyone help me out please or just push me in the right direction.
Thanks :)