Tower defense

Hello fellow rpg makers!


I have a new (and mabye rather easy yes/no) question:


Can npc's trigger events? (event-to-event)


I've done a fair amount of research and I have found a couple of ways to do it, but mostly for older versions of rpg maker.


Though, still nothing quite like what I'm looking for.


Example:


Uten navn.png


So what I want is the turret (black circle thingy) to aim at the tile that is triggerd by npc's.


(Easy done with player/event touch trigger, if it was player. But not so much for npc's).


My hope is that the turret can work as if it was an unlimited amount of creepwaves passing by.


Huge thanks in advance for any info on this topic!


(And sorry for my bad english and possibly wrong choice of forum)
Maybe the galv's plugin map projectil can help you
Maybe the galv's plugin map projectil can help you



Thanks Vito, that looks awesome!


I'll definitely use this plugin. And if it solves my event-to-event problem aswell, then I really can't thank you enough!  😀
😀 You're welcome!
I've been playing around with galv's plugin map projectil for a while now and I really love it, but I seem to be stuck 🙁  


I feel like I have tried everything, but I don't understand why I get this error.


Is anyone familiar with it?


Uten navn.png


The weird part is that it runs smooth, just like i want it to, event(1) hits event(2), event(2) disappears, and then, suddenly, poof


out of nowhere, this error pops up. Why? :/


(Galv's plugin map projectil, is the only plugin running).
Hitting f8 after the error appears will show you what line of the plugin is causing this. Most likely this is happening because the event is erased and the plugin is trying to access the y variable of the event that disappeared. Can you show us the event pages as well?
 Never mind, I think the problemis solved.

Original thread: https://forums.rpgmakerweb.com/threads/tower-defense.74056/