Open fhtanaka opened 2 years ago
I believe this one is already done, have to check to be sure
I think that in general it is possible to create an evacuation activity, but I am not sure if agents knowing / not knowing where to evacuate is a thing. Something for the new students to check.
Apparently Abe has already added an initial version of this feature. Pending tasks: [ ] - Document the current status of this feature on the Wiki (Milestone 1) [ ] - Determine if the current status of this feature is enough, or if change is necessary (Milestone 2)
Evacuation Activity is generated when an agent is told to evacuate.
The agent is checked for the "know where to evacuate" attribute.
If the agent knows where to evacuate, they will move to the closest evacuation center (generates move action using A* algorithm)
If the agent does not know where to evacuate, they will move randomly, giving higher weight to following agents in the same location.