Hi,
I'd like my enemies to be active when the player is near - but OFF when player is far. Currently I have Get Distance and Float Compare running every frame for each enemy. When player is near this triggers the complex enemy behaviors.
Question: is it actually expensive to be running multiple Get Distance and Float Compare every frame? Should I go in and put a Wait on each enemy, like for every second, so the Player is not constantly measured?
Or is "Wait" just running every frame anyway, and Get Distance and Float Compare not expensive after all - so there would not be much improvement?
Thoughts?
Thank you!!