Fix turrets (#18606)
This commit is contained in:
@@ -109,6 +109,8 @@
|
|||||||
rootTask:
|
rootTask:
|
||||||
task: TurretCompound
|
task: TurretCompound
|
||||||
blackboard:
|
blackboard:
|
||||||
|
RotateSpeed: !type:Single
|
||||||
|
3.141
|
||||||
SoundTargetInLOS: !type:SoundPathSpecifier
|
SoundTargetInLOS: !type:SoundPathSpecifier
|
||||||
path: /Audio/Effects/double_beep.ogg
|
path: /Audio/Effects/double_beep.ogg
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,10 @@
|
|||||||
id: TurretCompound
|
id: TurretCompound
|
||||||
branches:
|
branches:
|
||||||
- tasks:
|
- tasks:
|
||||||
# Shoot target if in range
|
- !type:HTNPrimitiveTask
|
||||||
|
operator: !type:UtilityOperator
|
||||||
|
proto: NearbyGunTargets
|
||||||
|
|
||||||
- !type:HTNPrimitiveTask
|
- !type:HTNPrimitiveTask
|
||||||
preconditions:
|
preconditions:
|
||||||
- !type:KeyExistsPrecondition
|
- !type:KeyExistsPrecondition
|
||||||
|
|||||||
Reference in New Issue
Block a user