sounds cool,
there is an expression called 'loopindex' which returns the index of the current loop.
Indexes begin on zero.. so the first index of the loop is 0, the second is 1 and the third is 2 etc
so to do something different on the third repetition of a loop, you can do:
+system, compare two values | loopindex is equal to 2
->create turret etc
to do this thing *every* three repetitions, (starting on the first) you can use the % operator:
+system, compare two values | loopindex%3 is equal to 0
->create turret etc
the '%3' makes it go back to zero on every multiple of 3
so for example '107 % 100' will return 7
and '541 % 100' will return 41
and '6 % 3' will return 0
also if you dont want it starting on the first, you can offset it like '(loopindex+1)%3'