Switch everything to use modelToWorldVisual instead of modelToWorld.

This commit is contained in:
Nou
2015-04-03 15:26:27 -07:00
parent 6c4dda2dc8
commit 6541600d44
24 changed files with 35 additions and 33 deletions

View File

@ -26,7 +26,7 @@ if (count _sound < 3) then {_sound pushBack 1};
if (count _sound < 4) then {_sound pushBack 0};
private "_position";
_position = _unit modelToWorld (_unit selectionPosition "RightHand");
_position = _unit modelToWorldVisual (_unit selectionPosition "RightHand");
_position set [2, (_position select 2) + ((getPosASLW _unit select 2) - (getPosATL _unit select 2) max 0)];
playSound3D [_sound select 0, objNull, false, _position, _sound select 1, _sound select 2, _sound select 3];