Tried looking for this information and can't find anywhere that talks about it, what manager in the RMMV code watches for and manages events to be triggered on the map?
MV What manages the events in RPG Maker MV?
Learning Javascriptthat's a good question, but what exacly do you mean by trigger?
autorun, parallel events? or switches, variables, items trigger?
other triggers like regions?
there are many way to trigger events, so you need to be more specific.
autorun, parallel events? or switches, variables, items trigger?
other triggers like regions?
there are many way to trigger events, so you need to be more specific.
There are several different methods defined for Action Button/Touch trigger detection. Search rpg_objects.js for
Events are processed via an instance of
Interpreters are updated/populated each frame via the appropriate object, e.g. the
prototype.checkEventTrigger for their definitions.Events are processed via an instance of
Game_Interpreter. There's a main interpreter attached to $gameMap/$gameTroop; there is also one interpreter per active Parallel event (map only). Non-Parallel events have to queue for the main interpreter.Interpreters are updated/populated each frame via the appropriate object, e.g. the
update method of Game_Map calls updateInterpreter (main) and updateEvents. When a Parallel event is updated, its interpreter updates as well.@ShadowDragon All of it, I'm looking for a way to adapt a Tactical Battle System to handle Events for a D&D style system.
@caethyril Thanks for the info, i'll look into these and will follow up if I have any other related questions ^^
@caethyril Thanks for the info, i'll look into these and will follow up if I have any other related questions ^^
You could told you looked a way to adapt for a TBS system, so you got also
a better answer or extended answer (included probably) given by caethyril.
because events can be triggered in many ways, so it would be hard to guess
which event, for which purpose 🙂
next time for questions, give more specific info or detail, so you have a wider solution
to look at in what you search for 🙂
a better answer or extended answer (included probably) given by caethyril.
because events can be triggered in many ways, so it would be hard to guess
which event, for which purpose 🙂
next time for questions, give more specific info or detail, so you have a wider solution
to look at in what you search for 🙂
Events in RPG Maker MV are managed by a tiny unicorn with a gambling addiction.
@Trihan I believe it xD
@caethyril Finally got around to taking a look and I think that's exactly what I needed, now I've got the gist of how events are added onto the Scene_Map and how they're processed when being activated, and it actually showed me a few things about movement! Gonna be a great help, thank you!
Double-post notice: @Aceinfurno
Original thread: https://forums.rpgmakerweb.com/threads/what-manages-the-events-in-rpg-maker-mv.136235/