i've been trying to use scirra.com/tutorials/408/enemy-ai-for-range-of-fire-and-line-of-sight-top-down-player/page-2 tutorial to get the enemies on a game of mine to detect the player and trigger another bahavior (just walk up to the player and wackem)
here is the .capx
dl.dropboxusercontent.com/u/198319749/last%20light%20emergency.capx
but doing exactly what the tutorial tells you causes only the nearest enemy to react, even if others are in range.
the tutorial tells you how to cause all enemys to concider shoting a the end but it flat out doesn't work ,the thing he tells you to remove causes all the lines to turn,instead of only the nearest, the same doesn't happen to the enemies ,probably becouse one of the commands still tell the event to pick the nearest enemy ,but if i remove that ,only one of the enemies (the first i included on the kayout it seems)will reach as it should.
i want to make it so that every enemy that gets withing range reacts, not only the neares.