Makes NPCs wait out the idleTime instead of finding a new spot every time they go idle (#31234)

continue idling when there is idle time
This commit is contained in:
PopGamer46
2024-08-20 13:57:39 +02:00
committed by GitHub
parent 27707c010b
commit 193dcb4b45

View File

@@ -2,6 +2,14 @@
- type: htnCompound
id: IdleCompound
branches:
- tasks:
- !type:HTNPrimitiveTask
operator: !type:WaitOperator
key: IdleTime
preconditions:
- !type:KeyExistsPrecondition
key: IdleTime
# Pick a new spot and wait there.
- preconditions:
- !type:BuckledPrecondition