LOOKING FOR HELP WITH SCRIPTING OVERWORLD ENEMIES TO ATTACK OVERWORLD TOWNS

Posts

Pages: 1
Hey all,

So essentially what I'm trying to do is have visible overworld enemies attack towns; basically, have them move toward a town, and if they're not intercepted by the player, they attack the town. Attacking a town in this scenario would either mean they take over the town--and the player would have to take it back--or they destroy it. Is this kind of script even possible? And if so, can someone help me out with it?

Cheers!
Marrend
Guardian of the Description Thread
21806
If you're using anything in the RPG Maker series, the thought in my head is that you could set up those events as a parallel process. So, like, there would be some kind of Move Command followed by getting the event's location, then comparing the x/y values to the location of where the town-tile is located, then doing an appropriate event if it "touches" town. Though, how well this solution actually works might depend on how many enemies/events there are on the field.

Saying that, I have a game where a NPC object interacts with other NPC objects that you might think about looking into. I'm pretty sure I didn't encrypt that game!
Pages: 1