My goal is to keep track of NPC's routes and positions with surgical precision, even when the player is visiting another map. So I got this idea, maybe I can load a second map in the background where all NPCs keep doing their stuff (like moving around or just standing idle). My second idea is to make a simulation using variables, but the idea of a second map sounds cooler (although, I know too little of javascript to make alone).