I have a question. Please view this image below:
I am aware that you can allow a user to not destroy an object if your object is behind a certain object... in this case it would be the blocks... code would be:
+use clicks on robot
NEGATE +mouse is over blocks
But this would only work for the robots on the far outter edges and very dead center but not for other robots overlapping with blocks because then they cannot be shot would be invincible...
I'm sending the same object/robot to all 3 layers (front, middle, back as shown in the hierarchy of my layers at the right hand side of the screenshot... and I want to send only this one object to preserve memory and cpu).
I could just use one robot for each of the 3 rows and send out instances of the same 3 objects... but I rather just have ONE object and send it everywhere I need with a coordinate and directions of left or right.
How would I have it so that you can only destroy a robot on a specific layer if he is not hiding being a specific layer of blocks?