mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added UAV exchange battery sound
This commit is contained in:
parent
57f8595e9c
commit
ac54e8dfd7
7
addons/logistics_uavbattery/CfgSounds.hpp
Normal file
7
addons/logistics_uavbattery/CfgSounds.hpp
Normal file
@ -0,0 +1,7 @@
|
||||
class CfgSounds {
|
||||
class ACE_replaceUAVBattery {
|
||||
name = "ACE_replaceUAVBattery";
|
||||
sound[]={QUOTE(PATHTOF(sounds\exchange_battery.ogg)),1,1};
|
||||
titles[]={};
|
||||
};
|
||||
};
|
@ -15,3 +15,4 @@ class CfgPatches {
|
||||
#include "CfgEventHandlers.hpp"
|
||||
#include "CfgVehicles.hpp"
|
||||
#include "CfgWeapons.hpp"
|
||||
#include "CfgSounds.hpp"
|
||||
|
@ -21,6 +21,7 @@ if (!(_this call FUNC(canRefuelUAV))) exitWith {};
|
||||
_onFinish = {
|
||||
EXPLODE_2_PVT((_this select 0),_caller,_target);
|
||||
_caller removeItem "ACE_UAVBattery";
|
||||
playSound3D [QUOTE(PATHTO_R(sounds\exchange_battery.ogg)), objNull, false, getPosASL _caller, 1, 1, 10];
|
||||
["VehicleSetFuel", [_target], [_target, 1]] call EFUNC(common,targetEvent); //setFuel is local
|
||||
};
|
||||
|
||||
|
BIN
addons/logistics_uavbattery/sounds/exchange_battery.ogg
Normal file
BIN
addons/logistics_uavbattery/sounds/exchange_battery.ogg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user