- Joined
- Apr 21, 2013
- Messages
- 1,194
I want the villagers in my city have dynamic lives(at least an image of it).
During day time, villagers will work/wander/chat/shop etc.
During night, some will go into their houses while some go to the tavern for some fun
After 12:00 am everybody(except some special npcs) will go into their houses.
So I can pick all units in the village matching some conditions and send them randomly to some points but this would cause leaks all over the place for each villager. But I don't want to create one point variable for each villager to keep track of them. So what would be the most efficient way to send all to some points and removing the points. If I remove the points before a villager reaches that point, does that villager still move there or not?
During day time, villagers will work/wander/chat/shop etc.
During night, some will go into their houses while some go to the tavern for some fun
After 12:00 am everybody(except some special npcs) will go into their houses.
So I can pick all units in the village matching some conditions and send them randomly to some points but this would cause leaks all over the place for each villager. But I don't want to create one point variable for each villager to keep track of them. So what would be the most efficient way to send all to some points and removing the points. If I remove the points before a villager reaches that point, does that villager still move there or not?