Move Route Commands

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

moveRouteCommands1

This plugin provides some extra move route comands that might be useful.
Currently, it supports the following:

* moving towards a specific event
* moving away from a specific event

If there is anything you would like to see, just send me a message and I’ll
look into adding it to the library.

Download

Plugin: download here (right-click, save as)

Installation

Download ths plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the HIME_MoveRouteCommands plugin.

Once it is in your list of plugins, turn the plugin on.

Usage

All commands can be used in a move route with the script call command.
Below are all of the script calls that are provided by this plugin.

Move Towards Event

Moves the character towards a specific event

script: this.moveTowardsEvent(ID)
example: this.moveTowardsEvent(23)

Move Away From Event

Moves the characters away from a specified event

script: this.moveAwayFromEvent(ID)
example: this.moveAwayFromEvent(5)
Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

6 Responses

  1. Angelina says:

    Hi, I wanted to use this programm for making a cat being chased by a dog and running away while he follows her.
    But ist doesn´t work, it´s just saying “cat not defined” and i dont know how to make it work.
    Maybe you could help me?
    (I´m sorry for my bad english)

  2. John says:

    I’m using your Party Manger script and was hoping to have the event move towards one of the created parties.

    I was thinking maybe this.moveTowardsParty(ID) would work?

    Any help would be great!

    http://himeworks.com/2016/02/party-manager-mv/#IdleParty

    • Hime says:

      In the move route, you can use a script call
      this.moveTowardCharacter(SOME_CHARACTER)
      Where the character is an event object.
      I’ve updated the plugin so that you can say this:

      this.moveTowardCharacter($gameMap.idlePartyEvent(3))

      Which will have the specified character move towards the idle party event that represents party with ID 3.

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax