The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: michael95 on July 12, 2011, 02:05:53 PM

Title: Problem with moving event
Post by: michael95 on July 12, 2011, 02:05:53 PM
I have problem with NPC moving to sewer, but only when player facing left when run event.


RPG Maker XP - Problem With Moving.avi   

http://www.youtube.com/watch?v=WrHaQA8jDhc

Problem is in 0:27

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fobrazku.cz%2Fobr731894_game.png&hash=731f860b3b7ef5365b62959aa5318608f91aedd4)
Title: Re: Problem with moving event
Post by: Mjustin on July 14, 2011, 08:03:21 AM
Make a conditional branch to see if the player is facing left. If he is, have the event move down and then right.
Title: Re: Problem with moving event
Post by: michael95 on July 14, 2011, 05:46:32 PM
I used conditional branch, but I haved another question: Why when player facing left, down, right, this event, when get to sewer still moving although it can´t move. Result is that the event on-site shuffling around.
Title: Re: Problem with moving event
Post by: Mjustin on July 14, 2011, 06:09:59 PM
You might be using too many move commands. Make sure you're still using four of them. So it should be:

Condition: (Player) is facing (Left)
>Set Move Route: (This Event)
>>Move Down
>>Move Right
>>Move Down
>>Move Down
Else
>Set Move Route: (This Event)
>>Move Right
>>Move Down
>>Move Down
>>Move Down
Title: Re: Problem with moving event
Post by: michael95 on July 14, 2011, 06:26:00 PM
Yes it works, but still don´t know why don´t work this:

Condition: (Player) is facing (Left)
>Set Move Route: (This Event)
>>Move Down
>>Move Down
>>Move Down
Else
>Set Move Route: (This Event)
>>Move Right
>>Move Down
>>Move Down
>>Move Down

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fobrazku.cz%2Fobr734206_game.png&hash=896b357ed3961eaa5a5d39d0fecf021c651750e5)
Title: Re: Problem with moving event
Post by: Mjustin on July 14, 2011, 07:57:41 PM
I'm not sure what you're asking. Are you saying it doesn't work when you have the event just move down three times without moving right?
Title: Re: Problem with moving event
Post by: michael95 on July 15, 2011, 04:22:58 PM
Watch this video at 0:27
http://www.youtube.com/watch?v=WrHaQA8jDhc
Title: Re: Problem with moving event
Post by: Mjustin on July 15, 2011, 04:37:24 PM
I know, I saw the video, which was why I suggested the conditional branch. If it detects the player is facing left, the event will move down, right, down, down, as opposed to right, down, down, down.
Title: Re: Problem with moving event
Post by: michael95 on July 15, 2011, 05:10:02 PM
When player to down right down, down, if player facing left it works. But I don´t understand why Does´nt wok down down down.