Hi everyone, I have an enemy that shoots projectiles with GalvsMapProjectiles, Right now he fires from anywhere on the map, I'm trying to make it so he only starts shooting when he's on screen, or better yet, when he's a certain distance away. Any things I may be missing? Or is there any code that does this? Thanks.
Event happen only when player is close enough to it
RPG Maker MV SupportFunnily enough I was actually building my own Common Event for that purpose (also because I want greater control than the plugins allow). However if you'd prefer not to do that, http://www.yanfly.moe/wiki/Event_Proximity_Activate_(YEP) will do it, though he charges $1 for it now (to be fair the whole collection is pretty worth it). Or there's a non-maker specific tutorial https://forums.rpgmakerweb.com/index.php?threads/proximity-distance-check.79791/
Perfect, I'll check it out. Thanks!
Original thread: https://forums.rpgmakerweb.com/threads/event-happen-only-when-player-is-close-enough-to-it.115743/