No single timer
Closed this issue · 0 comments
WoutProvost commented
Don't use a single timer for everything. The amount of used resources should increase with the amount of used NPCs. This means only creating a timer when the NPC is created and destroying it when the NPC is destroyed and don't create everything in advance.
If possible just hook FCNPC_OnUpdate.