Main Menu
  • Welcome to The RPG Maker Resource Kit.

Problem with moving event

Started by michael95, July 12, 2011, 02:05:53 PM

0 Members and 1 Guest are viewing this topic.

michael95

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


Mjustin

Make a conditional branch to see if the player is facing left. If he is, have the event move down and then right.

michael95

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.

Mjustin

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

michael95

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


Mjustin

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?

michael95


Mjustin

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.

michael95

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.