Make HTN constantly replanning optional (#33023)
Make constant replanning optional And apply it to our most expensive NPCs
This commit is contained in:
@@ -37,6 +37,9 @@ public sealed partial class HTNComponent : NPCComponent
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public float PlanAccumulator = 0f;
|
||||
|
||||
[DataField]
|
||||
public bool ConstantlyReplan = true;
|
||||
|
||||
[ViewVariables]
|
||||
public HTNPlanJob? PlanningJob = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user