Initial Wwise Integration
Created wwise project Integrated inventory UI sounds Improved projectile weapon behavior (randomized start position, stopped them from self-destructing at target range when airburst is disabled)
This commit is contained in:
parent
b53e4aec8c
commit
db8c3c7779
1019 changed files with 76372 additions and 110 deletions
|
|
@ -105,6 +105,11 @@ public class TurretController : IBehavior
|
|||
}
|
||||
else
|
||||
{
|
||||
foreach (var x in _weapons)
|
||||
{
|
||||
if (x.Firing)
|
||||
x.Deactivate();
|
||||
}
|
||||
EquippedEntity.Target.Value = EquippedEntity.VisibleHostiles.FirstOrDefault(e => e is Ship);
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue