after quite some testing, I found the problem. Seems to be some sort of computational error
use
Function.Param(0)+round(cos(loopindex("boomSides")*90))*loopindex("boomRange")
and
Function.Param(1)+round(sin(loopindex("boomSides")*90))*loopindex("boomRange")
when comparing the value in the array
Thank you very much for taking a look and nailing the error!
A computational error indeed, I don't actually think this should need the round expression at all. I mean we aren't even dealing with floats here, all the variables used in the event have simple integer values.
I found that you only need to apply the round for the X value in the condition, the second one isn't actually needed. I guess this makes some sense since the error only occurs on the left side, meaning at a certain range of X coordinates.
The X calculation for the 270? angle needs to be always 0 though, which even my calculator agrees on. Yet Construct somehow needs round to make it work?!?
So yeah, this leads me to believe this might be an actual bug in Construct 2. It could be an accuracy issue with the math expression cos or simply a general issue with that array condition and using math in it.