Hello!
I found this forum extremely useful in solving a previous issue I had so thought I'd try another...
Is it possible to destroy an object only on the condition that it is currently in view on the screen? For example, if I want to destroy an object by standing on a switch it proceeds to destroy all the other instances of that same object on the layout. I was hoping to only destroy the object currently on screen without wiping out the other ones that appear further in my level.
I have the conditions:
Is 'object1' on screen
+
'Player' is overlapping 'switch'
then for the action I chose destroy 'object1' but it destroys all instances.
I know you can give each object a unique id, but just thought it would be much easier to only destroy the object that was on screen, or I suppose an alternative way would be to destroy the object closest to the player, that would work.
Any ideas how to implement the above?
Thanks in advance for your help.