- Joined
- Sep 8, 2017
- Messages
- 12
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMMV
Hey everyone,
I am using Yanfly's Event Spawner plugin to add an event to the map. This event functions as a follower NPC with an on action button trigger who you can issue the orders "wait here" or "follow" to. If "follow" is selected, I have a parallel common event that runs when a switch is flipped. All I am seeking to do is to recreate the "Set Move Route" to make the spawned event move towards the player without waiting for completion when that "follow" command is chosen. (I cannot use the "set move route" since the event is spawned)
I understand how to get the event ID of the Yanfly Spawned event by using the command $gameMap.LastSpawnedEventID() and assigning it to variable '3'. I can then reference that event using $gameMap.event($gameVariables.value(3))
Using some of the previously posted threads on this board regarding similar issues, I understand the next script would be $gameMap.event($gameVariables.value(3)).moveTowardPlayer() but this alone does not behave like the "Set Move Route" would. Instead, the event shakes and moves rapidly and does not seem to be affected by speed or frequency settings. Can anyone offer assistance?
I am using Yanfly's Event Spawner plugin to add an event to the map. This event functions as a follower NPC with an on action button trigger who you can issue the orders "wait here" or "follow" to. If "follow" is selected, I have a parallel common event that runs when a switch is flipped. All I am seeking to do is to recreate the "Set Move Route" to make the spawned event move towards the player without waiting for completion when that "follow" command is chosen. (I cannot use the "set move route" since the event is spawned)
I understand how to get the event ID of the Yanfly Spawned event by using the command $gameMap.LastSpawnedEventID() and assigning it to variable '3'. I can then reference that event using $gameMap.event($gameVariables.value(3))
Using some of the previously posted threads on this board regarding similar issues, I understand the next script would be $gameMap.event($gameVariables.value(3)).moveTowardPlayer() but this alone does not behave like the "Set Move Route" would. Instead, the event shakes and moves rapidly and does not seem to be affected by speed or frequency settings. Can anyone offer assistance?

