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:
parent
83bbb1d330
commit
3bd6695d02
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue