use getposalt instead of position here fixes

http://bmrf.me/vbforums/showthread.php?11562-Smelting-Tin-BUG&p=75405#post75405
This commit is contained in:
[VB]AWOL
2013-12-11 08:17:12 -06:00
parent a37a78e251
commit 51c7d3fc87
6 changed files with 14 additions and 10 deletions

View File

@@ -65,7 +65,7 @@ if (_finished) then {
// Sound_Generator1
// Looks like this was the entended way of making the sound, lets test
_soundSource = createSoundSource ["Sound_Generator1", position player, [], 0];
_soundSource = createSoundSource ["Sound_Generator1", getPosATL player, [], 0];
_vehicle setVariable ["GeneratorSound", _soundSource,true];
@@ -78,7 +78,7 @@ if (_finished) then {
// Sound_Generator1
// Looks like this was the entended way of making the sound, lets test
_soundSource = createSoundSource ["Sound_Generator1", position player, [], 0];
_soundSource = createSoundSource ["Sound_Generator1", getPosATL player, [], 0];
_vehicle setVariable ["GeneratorSound", _soundSource,true];