AI/progress processing in unloaded levels


let’s say

  • I have many levels with agents on it
  • these agents will add items to their inventory, sell them and make money for instance
  • one can load one level at a time
  • it works if I am in the same (loaded) level as they are

but how does one process ai/progress in levels that are not loaded ?

agents progress will be influenced by the terrain and randomness of their search

so how to simulate that…without playing all levels in memory ?

I thought about create random numbers based on previous stats

thanks for your inputs on that

nobody ?