Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Missing "EliMZ_book"?

A topic by Qrim created Sep 15, 2023 Views: 213 Replies: 5
Viewing posts 1 to 2
(1 edit)

The plugin doesn't seem to work as it's missing another plugin. It says it requires the base plugin of EliMZ_book.

Also a error pops up when play testing "Cannot read property 'registerCommands' of undefined"

Developer

Hi there!

Yes, it needs the EliMZ_Book, which is my core plugin. You need to have it somewhere above all Eli plugins. Here is the link:

https://hakuenstudio.itch.io/eli-book-rpg-maker-mv-mz

This will also fix that error.

Thank you! The plugin works very well when I set the move route to "Toward Player" But I want to use a script to give it a smart pathfinder. When I use the script for the custom route for an event they no longer can move diagonally. Why is that? Here is what I'm working with.

$gameMap._events[this._eventId].moveStraight($gameMap._events[this._eventId].findDirectionTo( $gameVariables.value(1),$gameVariables.value(2) ));

where VariableID#1 is PlayerX

VariableID#2is PlayerY

If I change the script with moveDiagonally it behaves strange.

Developer

Hi there!

the moveStraight method will not work for this. If you want a character(event, player, or follower) to move towards a specific character with a script call, you should try using this method instead:

  • $gameMap._events[this._eventId].moveTowardCharacter($gamePlayer)
(+1)

Thank you so much! That helped :) This is a great plugin and I'm glad it exists! Not many plugins like this affect events so it's perfect!

Developer

Glad it helped!

Have fun! ^^