mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixing playsound3d limits (#7024)
This commit is contained in:
parent
5d07029db7
commit
5033a98353
@ -22,7 +22,7 @@ params ["_args", "_pfID"];
|
||||
_args params ["_unit", "_i", "_arr", "_code"];
|
||||
|
||||
if ((_i mod 4) == 0) then {
|
||||
playSound3D [QUOTE(PATHTO_R(Data\Audio\DialTone.wss)), objNull, false, (_unit modelToWorldVisual [0,0.2,2]), 15,1,2.5];
|
||||
playSound3D [QUOTE(PATHTO_R(Data\Audio\DialTone.wss)), objNull, false, (_unit modelToWorldVisual [0,0.2,2]), 5,1,5];
|
||||
};
|
||||
ctrlSetText [1400,format["Calling%1",_arr select (_i - 4)]];
|
||||
|
||||
|
@ -30,7 +30,7 @@ if ((((getPosASL _shooter) vectorDistanceSqr _projectilePos) > _seekerMaxRangeSq
|
||||
_attackProfileStateParams set [1, true];
|
||||
_attackProfileStateParams set [2, _randomVector];
|
||||
|
||||
playSound3D ["a3\sounds_f\air\sfx\SL_rope_break.wss", objNull, false, AGLtoASL (_shooter modelToWorld _wireCutSource), 150, 1, 25];
|
||||
playSound3D ["a3\sounds_f\air\sfx\SL_rope_break.wss", objNull, false, AGLtoASL (_shooter modelToWorld _wireCutSource), 5, 1, 150];
|
||||
};
|
||||
_projectilePos vectorAdd _randomVector
|
||||
};
|
||||
|
@ -108,7 +108,7 @@ private _vectorDirAndUp = [_surfaceNormal vectorMultiply -1, _v3];
|
||||
params ["", "", "", "", "_unit"];
|
||||
TRACE_2("Unit:",_unit,_this);
|
||||
|
||||
playSound3D [QUOTE(PATHTO_R(sounds\spray.ogg)), _unit, false, (eyePos _unit), 10, 1, 15];
|
||||
playSound3D [QUOTE(PATHTO_R(sounds\spray.ogg)), _unit, false, (eyePos _unit), 5, 1, 15];
|
||||
|
||||
// Tell the server to create the tag and handle its destruction
|
||||
[QGVAR(createTag), _this] call CBA_fnc_serverEvent;
|
||||
|
Loading…
Reference in New Issue
Block a user