The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Atracious on February 24, 2007, 09:25:17 PM

Title: moving event to hero [resolved]
Post by: Atracious on February 24, 2007, 09:25:17 PM
I would like an event to move to a hero no matter where he is....how can i do this? RPGXP
Title: Re: moving event to hero
Post by: bulls84 on February 24, 2007, 09:31:48 PM
You mean like following them? If you do then just use the caterpillar script in the script database
Title: Re: moving event to hero
Post by: Atracious on February 24, 2007, 09:41:36 PM
no i want it to jump to the location of the hero.
Title: Re: moving event to hero
Post by: King Anesis on February 24, 2007, 09:51:38 PM
Event Preconditions Follow Hero.
Title: Re: moving event to hero
Post by: Atracious on February 24, 2007, 10:01:50 PM
ok thx :)  seems to keep moving even though i'm not.....back and forth. any way to temporarily stop following?
Title: Re: moving event to hero
Post by: Atracious on February 24, 2007, 10:12:02 PM
figured it out: i used variables for event x/y coord and hero x/y coord, when one of them wasn't the same it moved in the same direction hero moved.
is there any way to check if two events are overlapping without vars? or if an event is on a certain type of tile? (like the pile of leaves?)
Title: Re: moving event to hero
Post by: King Anesis on February 24, 2007, 10:44:41 PM
Touch Hero Precondition would work if it's the hero being touched. Otherwise it's variables.
Title: Re: moving event to hero
Post by: Atracious on February 24, 2007, 10:47:26 PM
alright.....guess its using variables. this topic is now resolved.
Title: Re: moving event to hero
Post by: :) on February 24, 2007, 11:24:26 PM
Quote from: atracious on February 24, 2007, 10:47:26 PM
alright.....guess its using variables. this topic is now resolved.

edit your first post, and add [RESOLVED] to title.  ;D