Mr. Beknacktoman

Villager
Member
Joined
Nov 13, 2012
Messages
9
Reaction score
9
First Language
German
Primarily Uses
Hello, I want to move a follower to a certain position like this:
var cMoveTo = "Move to: 18, 4"; var cMove = { code: Game_Character.ROUTE_SCRIPT, parameters: [cMoveTo] }; var cEnd = { code: Game_Character.ROUTE_END, parameters: [] }; var cList = [cMove, cEnd]; var route = { list: cList, repeat: false, skippable: false, wait: true }; $gamePlayer._followers.follower($gameVariables.value(35)).forceMoveRoute(route);
The thing is,the follower only moves one tile instead to the specified position.
And if I set a loop, that just repeats the move command if the postition is not reached, then the game lags pretty heavy. It seems like RPG Maker doesn't want to wait for follower movement to be completed before going to the next command, even though I set wait to true.
Is there a way to do that?
 

Mr. Beknacktoman

Villager
Member
Joined
Nov 13, 2012
Messages
9
Reaction score
9
First Language
German
Primarily Uses
Bump

Edit: I tried "this.setWaitMode('route');" but then I get this error:
TypeError: Cannot read property 'isMoveRouteForcing' of null
at Game_Interpreter.updateWaitMode (rpg_objects.js:8884)
at Game_Interpreter.updateWait (rpg_objects.js:8860)
at Game_Interpreter.update (rpg_objects.js:8832)
at Game_Map.updateInterpreter (rpg_objects.js:6115)
at Game_Map.update (rpg_objects.js:6022)
at Scene_Map.updateMain (rpg_scenes.js:608)
at Scene_Map.updateMainMultiply (rpg_scenes.js:600)
at Scene_Map.update (rpg_scenes.js:589)
at Scene_Map.update (YEP_CoreEngine.js:1425)
at Scene_Map.update (SRPG_core.js:5421)
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

After gathering, sorting out & reconsidering hundreds of enemy battlers over the last two das, finally my favorite part begins: Inventing names and lore for them all :D
I'm running a sale for Learn RPG Maker MV on Itch.io, can I compete with NSFW games earning goals?
Another Friday and another Zoom call that could have been an email. Working from home is awesome.
Finished with the semester; finally have some time to play around with MV :kaopride:
Started work on the fishing Mini-Game

Forum statistics

Threads
111,371
Messages
1,060,540
Members
144,699
Latest member
Lumivos
Top