The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: CheeseCake5555 on February 24, 2006, 10:18:48 PM

Title: Enemy Scripts
Post by: CheeseCake5555 on February 24, 2006, 10:18:48 PM
Ok i know that the title of the thread  is worng but i don't know whats its called.  In my Rpg i want a thing that if an enemy touches a event thing thats its a game over.
Like your defending a town square and if an enemy crosses an invisable line you get a game over.  Could any one help me with this?
Title: Enemy Scripts
Post by: Dillydally on February 24, 2006, 10:31:29 PM
you can do it with events, you dont need scripts... just figure it out  8)
Title: I tryed
Post by: CheeseCake5555 on February 24, 2006, 11:34:21 PM
I did try but i only got it to work with the player, not any enemys
Title: Enemy Scripts
Post by: Dillydally on February 25, 2006, 03:35:45 AM
well in "move event" in the event commands look at the top left where it says "Player" click the arrow thing and pick "this event" or one of the named events, hope that helps
Title: Trying
Post by: CheeseCake5555 on February 25, 2006, 05:22:27 AM
ok i'll try this
Edit: didn't work.  Man i don't get this at all but it would be cool to put in if some1 could help me
Title: Enemy Scripts
Post by: Zeriab on February 25, 2006, 09:41:59 AM
Take the x- and y-coordinates of 1 event and compared to the x- and y-coordinates with the other events.