* Exit earlier the playInjuredSound if no player is around
* Check if _targets array has at least one player
* Remove useless parenthesis
Co-Authored-By: commy2 <commy-2@gmx.de>
* Handle player inside a vehicle
If any player is inside the area then the _targets will not be empty. This also handle the case where player is inside a vehicle or _unit is a player.
* Handle z axis
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: commy2 <commy-2@gmx.de>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* Move scream and moan sounds to medical feedback
* Move vanilla feedback overrides to medical feedback
* Update all function calls
* Use events to avoid a dependency