Hey guys,
First I'd like to thank the community for having such a great forum. Many questions I had were answered with a simple search. However, something has come up to which I can't find the solution. It's probably some noob mistake, but I just can't get this to work! It goes like this:
I have a little maze with spawning objects which randomly creates an enemy when the layout is loaded. This enemy has LOS and Bullet behavior; their invisible and immobile until the player enters their LOS. The event goes:
"Enemy" has LOS to "Player" - "Enemy" activate bullet behavior (it's deactivated at the start of layout)
To simplify things, I've set the enemy to always face the player, since their invisible until coming into LOS:
Always - "Enemy" set angle towards "Player"
For testing I set the Enemy to be visible from start. However, everytime the player comes into the enemie's LOS, all instances of Enemy move, even the ones without LOS. LOS is set to 1px precision, and 100px range. Bullet to 25px speed, never destroy.
What's wrong here? How do I get only the instance in LOS to have bullet behavior activated?
If needed, I'll post the cap.
Thanks in advance
Pedro