Quick question on Multiple Loops

M

Mythic Fr0st

Guest
If I have
Code:
For each Integer A from 1 to 5
   loop
    For each integer B from 1 to 5
     loop
     if String[Integer A] equal to OtherString[Integer B]
     -blah
    -blah

Will it loop like this

If String[1] equal to OtherString[1],
If String[1] equal to OtherString[2],
If String[1] equal to OtherString[3],
If String[1] equal to OtherString[4],
If String[1] equal to OtherString[5],
If String[2] equal to OtherString[1], then keep repeating like that?
 

mems

Memory Lapse
Reaction score
24
but if this loops will run several times in map this integer a and integer b are global variables and will massup /overwrite themselves and u will recieve ugly combinations.

Use local variables on loops for sure. Go to tutorials o learn them.

Edit: oo yes forget about waits thnx ace ;)
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top