hi all!
hope you're well,
another quick one,
im having trouble deleting an object when im in an if statment, ex:
do
`main game code!!
if object collision (a,b)
delete object b
print "object b was deleted, this if statement shouldnt be active again"
endif
loop
-for some reason it wont let me, it errors out with cannot delete object.
now im not stupid - i realise thats because im within the loop, and the fact that its looping around and calling itself again too quickly..
whats the solution for this? just hide the object and delete it later?
thanks
Paul