Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

how to abandon one move and start another?

Caesum

Member

Yay, after, I don't know, 3 or maybe even 5 years of using rm2k3, I've finally decided to try making my event-based ABS in rmxp. Unfortunately, it seems that rmxp has many differences compared to rm2k3 that I must change if I want to make this ABS run ok.
But now I have just one question.

In rm2k3 if there was commanded to make move when the event was making another, then it abandoned that move and start new. In rmxp it seems that every event must first END move before making another, and so it is impossible to make quick dodge, and moreover, if event has "player touch" trigger ticked, then it is possible that he will make it's commands while ending first move and before starting another.

Is it possible to make it work like in rm2k3?
 
Answered the same post at Creation Asylum, but in case someone else has trouble I'll copy it here...

You can have one event set a move route for another event, then have a 3rd event interrupt it with another move route.
the important thing is that the first event that sets the move route only sets it once. (i.e. you use a conditional or a self-switch to prevent it from executing more than once),
And that the event moving does not change event pages. (this will reset the move route)

check out this simple demo.... http://hbgames.org/user_files/pmkkoch_move_route.exe

The dog will walk all the way across the map. If/whenever you hit the switch, the dog will abandon it's previous move route, and start to walk down.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top