hi :D
I'm, trying to make instances get "activated" when they are within certain distance of the player, however "my way" needs 1 event per instance... and the instances need to be destroyed in my game and I know the instance number change when one is deleted =/
Isn't there a way to program a general event that can handle this more efficiently?
This is what I made:
dl.dropbox.com/u/20613220/activatebydistance.capx
cheers ^^!
Develop games in your browser. Powerful, performant & highly capable.
Use the 'for each' system condition
https://dl.dropbox.com/u/3954039/activatebydistance.capx
oh damn... I tried that but I was putting the "for each" inside the "withing distance" event... this makes much more sense and it works perfectly =)!!
This has cleared up so many things for me!
Thank you 7Souls :D!! You win a hug.