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 deltanedas
parent 83bbb1d330
commit 3bd6695d02
1 changed files with 8 additions and 0 deletions

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