halflife-unified-sdk
halflife-unified-sdk copied to clipboard
Consider saving schedules
NPCs don't currently save their current schedule and task, instead relying on the AI code to reset to a valid schedule after loading a save game.
Saving this state would ensure that the NPC's behavior remains consistent after a save load.
Note that this could also break NPCs if they were designed to always restore state based solely on other NPC state variables.