- Joined
- Nov 18, 2015
- Messages
- 49
- Reaction score
- 26
- First Language
- Portuguese - Br
- Primarily Uses
- RMMV
I'm asking for a support, but, my post can be used as an idea for you 
Since I did not find a plugin or a way of not using parallel event to put random motion in the events with diagonal movement, I used the script this.moveRepeat(direction, times) from the YEP_MoveRouteCore.js, that sets a "direction" number for the event to move (according to NumPad) a certain amount of "times" (steps). So, I thought a way to use this to do a diagonal movement for NPCs inserting a script to randomize the direction for each step the NPC does.
But . . .
So...
If I disable the option to repeat move, the NPCs just moves one step, as defined in the "times" in the script
If I enable the option to repeat move, the NPCs just ignores the "times" number and starts to move in one direction without change to a new direction (as showed in the gifs)
I tried to use a script to change one event self variables (1 to 9) and other script to move the NPC to the direction of its self variable, but no work (maybe I did something wrong)
Some help?

Since I did not find a plugin or a way of not using parallel event to put random motion in the events with diagonal movement, I used the script this.moveRepeat(direction, times) from the YEP_MoveRouteCore.js, that sets a "direction" number for the event to move (according to NumPad) a certain amount of "times" (steps). So, I thought a way to use this to do a diagonal movement for NPCs inserting a script to randomize the direction for each step the NPC does.
But . . .
So...
If I disable the option to repeat move, the NPCs just moves one step, as defined in the "times" in the script
If I enable the option to repeat move, the NPCs just ignores the "times" number and starts to move in one direction without change to a new direction (as showed in the gifs)
I tried to use a script to change one event self variables (1 to 9) and other script to move the NPC to the direction of its self variable, but no work (maybe I did something wrong)

Attachments
-
39.5 KB Views: 6