How do make an Actor approach Non-actor charaters and events

Im trying to code a character, Siren, that isn't the main character and i want the main caracter to go to siren's position during a said period, then the player can move away if not too late.

The event i want the player to approach isn't in the party, it's just an event, an enemy you must avoid.
Please pardon me for that
Im trying to code a character, Siren, that isn't the main character and i want the main caracter to go to siren's position during a said period, then the player can move away if not too late
Making a second thread while the first one isn't even out of the "latest posts" list, isn't really going to help your issue. Read the rules post I linked carefully and actually explain what exactly it is you want to accomplish, because right now, based on your explanation, the answer is learn how to use the enigne by watching tutorials and figuring stuff out.
Gee, i trieed to delete the other one but i dunno how to
Gee, i trieed to delete the other one but i dunno how to
Instead of trying to delete anything, just edit one of these threads with some actual detail of what exactly you want to accomplish.

I've merged the previous thread (first 3 posts) into this thread.

edit.png You can use the "Edit" button to add helpful information to your opening post. 👋
@JCP7970 if the actor you want to approach already in the party (namely, part of the trail) or is it a simple event and you just want the player to go there?
@JCP7970 if the actor you want to approach already in the party (namely, part of the trail) or is it a simple event and you just want the player to go there?
The event i want the player to approach isn't in the party, it's just an event, an enemy you must avoid
How to move the Player character towards a specified Event using script commands.

[Set Move Route]>[Script]
Code:
turn_toward_character($game_map.events[EventID])
move_toward_character($game_map.events[EventID])
(The MoveRoute's dropdown should be set to 'Player', and EventID should be replaced with the target NPC's EventID)

You'll need to figure out how to allow the player to avoid the collision course though. I'd probably do a conditional branch "If button (insert butten here) is being pressed then..." to allow the player to intervene.

Edit: Keep in mind that the move toward command doesn't have any AI to maneuver around obstacles.
How to move the Player character towards a specified Event using script commands.

[Set Move Route]>[Script]
Code:
turn_toward_character($game_map.events[EventID])
move_toward_character($game_map.events[EventID])
(The MoveRoute's dropdown should be set to 'Player', and EventID should be replaced with the target NPC's EventID)

You'll need to figure out how to allow the player to avoid the collision course though. I'd probably do a conditional branch "If button (insert butten here) is being pressed then..." to allow the player to intervene.

Edit: Keep in mind that the move toward command doesn't have any AI to maneuver around obstacles.
Well... I think there may be something wrong
but EV001 is the name of the event
1744787864150.png
EV001 is the default name for the map event with ID 1, so try this?

move_toward_character($game_map.events[1]);
Well... I think there may be something wrong
but EV001 is the name of the event
Yeah sorry, that stumpt me when I was new too so I should've mentioned it. EV001 = 1 so as Caethyril said,
Code:
move_toward_character($game_map.events[1])

Original thread: https://forums.rpgmakerweb.com/threads/how-do-make-an-actor-approach-non-actor-charaters-and-events.175926/