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:
Ozan Eğitmen 2021-10-08 19:35:47 +03:00 committed by GitHub
parent 4b593f85d3
commit fb2b1ceadb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)]];