mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Explosives - Fix Dial Tone Sound Position (#8488)
* explosives - fix dial tone sound position * Use right hand pos instead of hardcoded pos
This commit is contained in:
parent
4b593f85d3
commit
fb2b1ceadb
@ -22,7 +22,8 @@ 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]), 5,1,5];
|
||||
private _pos = _unit modelToWorldVisualWorld (_unit selectionPosition "RightHand");
|
||||
playSound3D [QUOTE(PATHTO_R(Data\Audio\DialTone.wss)), objNull, false, _pos, 5, 1, 5];
|
||||
};
|
||||
ctrlSetText [1400,format["Calling%1",_arr select (_i - 4)]];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user