The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: pliio8 on January 11, 2007, 03:14:05 AM

Title: Fowl game chase repair
Post by: pliio8 on January 11, 2007, 03:14:05 AM
I have a game in my uhhh...game that lets you chase a chicken, it will always try to run from you, but it keeps getting stuck! Can I get some help?
Title: Re: Fowl game chase repair
Post by: :) on January 11, 2007, 05:42:07 AM
where and how the hell does it get stuck?
Title: Re: Fowl game chase repair
Post by: SexualBubblegumX on January 11, 2007, 08:33:14 AM
Which maker?
Title: Re: Fowl game chase repair
Post by: pliio8 on January 12, 2007, 12:20:31 AM
It gets stuck in corners and walls after not being able to go anywhere awat from the hero. And its RPG XP.
Title: Re: Fowl game chase repair
Post by: Irock on January 12, 2007, 01:53:56 AM
Hmm, you would have to have somthing the complete opposite of the caterpillar system to fix this. Or some sort of script. None exist that I know of.
Title: Re: Fowl game chase repair
Post by: :) on January 12, 2007, 01:55:37 AM
post the event page.
Title: Re: Fowl game chase repair
Post by: pliio8 on January 12, 2007, 02:38:39 AM
This is the event:

Move event: Move away from hero

Thats it...
Title: Re: Fowl game chase repair
Post by: :) on January 12, 2007, 02:40:27 AM
well, If you chase it into the wall then its going to get stuck in the.

say:

_______________________________ < thats the wall

8                               < thats the rabbit

^
^
1                              < thats me running up


the rabbits going into the wall./
Title: Re: Fowl game chase repair
Post by: Malson on January 12, 2007, 03:58:21 PM
Quote from: Irockman1 on January 12, 2007, 01:53:56 AM
Hmm, you would have to have somthing the complete opposite of the caterpillar system to fix this.

Then he would never be able to catch the chicken ???
Title: Re: Fowl game chase repair
Post by: Reives on January 12, 2007, 10:19:03 PM
One option is to strategically plan out empty events at the corners and places that it gets easily stuck at. Given that the chicken does not have 'through' enabled, it will not pass through empty events (even though the player still can). That way, it's somewhat of an invisible bouncy barrier to avoid it running into a dead end. 

Another alternative choice would be to manually set its movement pattern. This might take some time, but can be effective if planned out carefully knowing where the player starts out. Perhaps have it run in circles, and if you wanna get fancy set some conditional branches such that if player's map coordinate = below it (use variables), move one route instead of the other. Etc. Might be too complicated though, so I suggest just try out the invisible barrier thing.