Hello,
the following script does not work completely as it should, maybe someone of you has an idea to help me out
It is comparing distances between objects. If the distance is <600 it should do one thing and if distance is >600 it should do another thing. This are the trues and falses in the middle codeblock. All works pretty good when there is only one false in between the trues.
When there are 2 consecutive falses (line 2 or 3) the script should add a “1” at the “correct” index. I’m having trouble to insert the “1” at the correct index…
I hope the lines 2 and 3 give you an idea of what I’m planning to do.