Need help with NPC Time based schedules and dialogue

make it travel invisible to the area to make it LOOK like it spawned there
I thought you meant have it around invisible and move it there by move route, not teleport it.

I might need to figure out a way to set multiple event points per NPC based on time when traveling over larger areas so when they start if its a certain time they will start half way or whatever point of travel the main event is supposed to take
that's why I say to keep the system logical and only move avatars.
if you keep the calculation of positions external to the play field and common events, you can operate with whole sets of values, instantly.
if you use common events or event move routes, the processing is linear.
it's a whole study, and many ways to go about it.
Ah, well i did mean autonomous move routs, i didn't know you could literally teleport an event to a specific location ( on the same map i mean ) but i think i might have seen something to move event to x y location with the visustella events and movements core when i was looking for something else but i can't remember. i'll have to go back and take a look unless there's an easier way in the base of rpg maker. 😛

I understand what you mean by avatar, but how would you actually set that up opposed to the normal " setting a picture to the event " what's done different?


edit:

Ok looking at the plugin there is a plugin command that spawns the event at x and y
" Spawn event: Spawn at X and Y location on current map " i imagine that will work for what i need~
what's done different?
an avatar could be generated dynamically on demand, with a simple set of instructions that pinged a core system to retrieve it's actual set of functions or effects.
that simple instruction could be copied over from another template, so at request time you'd order "copy this template, and assign it this name", and when interacting with the event, the instruction copied over would be the one to take "this name" and send it to the core system, like "this is me... assign *me* to whatever further effects should be played"
so, any dialogue like "Hi, how you doing?" would have "this name" and "this face" automatically assigned, through the core system.

you decide how big or small both that simple set of instructions is, or the AI is.
the point is, it *can* be done because that's exactly what the game already does when loading a new map: it reads the map file, finds the markers where events were defined in the editor, and assigns them a logical object RPG:Event that is handled by the game.
you'd be poking that routine and wrangling it on demand.
"setting a picture to the event" requires the event already in place, having been loaded with the map.
but the instruction "set picture" itself is part of the interpreter, which you're already taking control of when spawning that event, so you can work that into the whole system as part of the spawn routine, so when calling "spawn THIS", that "this" brings along the NPC's identity: map avatar, name to be used in dialogues, and face.

the AI assigned to that event could be something like "ping the system for current XY", and "move to XY"
"move to XY" in itself is already coded, and it's the fundamental part of movement routes along with "turn to".
so, get rid of the move route menu in the editor, and just code everything to it's logical equivalent: "at this time, on this location".
as "time" approaches "this current time", "this location" starts to differ from "this current location".... so, "move to XY" *sends* the event to that location.
if "move to" ends up landing out of boundaries when considering the screen, then you teleport.
and that is all math.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-npc-time-based-schedules-and-dialogue.166691/