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

here's another RPG Maker remake idea: "Plumbers Don't Wear Ties". I'll salute to whomever does this
I won't finish it today, I only will have time to work on that next Saturday, what a shame... :(
I made something for @LittenDev [as he requested]
It's been a weird while. I've been so torn down that even playing video games has been something I avoided. But I shouldn't forget two things. One, I love RPG Maker for a reason. Two, only way to eat an elephant is a bite at a time.

Forum statistics

Threads
111,385
Messages
1,060,721
Members
144,728
Latest member
Izaya_Nozomu
Top