I use Pick All and then I reference all instances of 1 object to determine the distance another object is to any of them and this is not working.
Attach a Capx
please find he Capx linked has to be zipped as per the upload constraints of file host :
Description of Capx
player walks around with Arrow Keys.. Attacks with Spacebar.
Enemies should be spawning in and being forced to remain 1000px from each other spawned enemies is capped.
I have further tested this and can confirm this is an issue as I manually specify all possible IID's for instances that can spawn and suddenly they function as expected.. but pickall should have chosen all IID's and performed the same function.
Steps to Reproduce Bug
- Step 1 - run the capx
- Step 2 - walk around and notice how many enemy objects are overlapping.
As per above enemies are spawning in on top of each other even though the code should be forcing them not to be able to do this with 2 different conditions.. so I don't get how it can unless there is a bug.
Enemies to never spawn overlapped
- Chrome: (YES/)
others prolly the same I just only tested in chrome.
Operating System and Service Pack
Construct 2 Version ID