Page MenuHomeFeedback Tracker

say3D fails when offset param >10
Need More Info, NormalPublic


Arma3 v2.00.146773

When using say3D with the offset parameter if offset is larger than 10 the sound does not play and the audio object ceases to exist.
I suspect this will happen with all the sound commands that have the offset param, but I have only tested say3D.

Compare these:

This one will play the sound
cursorObject say3D ["Track_C_01",10,1,false,9.9];

This one will fail
cursorObject say3D ["Track_C_01",10,1,false,10.1];


Unable To Duplicate
Operating System
Windows 10 x64
Steps To Reproduce

Place an object, stand in front of it, run this is debug console.

onEachFrame {hintSilent str allMissionObjects "#soundonvehicle"};
[] spawn {sleep 1; systemChat "1 started"; cursorObject say3D ["Track_C_01",10,1,false,10.1];};
[] spawn {sleep 10; systemChat "2 started"; cursorObject say3D ["Track_C_01",10,1,false,9.9];};

when "1 started" appears in chat a sound object will be briefly visible in the hint but disappears after one or two frames and no sound is played.
when "2 started" appears in chat a sound object will be visible in the hint and the sound will play.

Event Timeline

Drofseh created this task.Dec 10 2020, 9:32 AM
dedmen added a subscriber: dedmen.Dec 15 2020, 3:48 PM

why cursorObject when you can just do it on player..
Makes it easier to repro.

Cannot reproduce, the object stays in the hint, it doesn't disappear. But I don't hear any audio with either say3D's.

Ah maybe I can hear the audio, its so silent.

Well I can't hear if the offset works, the track is too silent to hear whats going on.
But it atleast plays something so. Cannot reproduce

dedmen changed the task status from New to Need More Info.Dec 15 2020, 3:59 PM
dedmen changed Resolution from Open to Unable To Duplicate.

Used cursor object because I was testing something else and just copy pasted, say3D with a music track seems to be louder when it's coming from another object as well, but that might be subjective.
Setting the distance param higher (to say 1000, which I've done for this video) will also make it louder when closer to the object.

So you can still repro on dev branch?

Yes, I've tried on dev as well now and have the same issue.

Still no repro in internal build, your script repro doesn't work, both objects stay active. And I can hear both tracks playing overlapping.
I don't know what to do here.