Using playMusic to play music from addon at big offset can cause nothing.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Random
- Operating System
- Windows 7
- Operating System Version
- 7601
- Category
- Engine
Steps To Reproduce
- Download this CBA A3 and mod:
https://github.com/SomeOneUnknown/A3FM/releases/tag/R4
- Wait for 30 sec after game loaded.
- Press R.
- Press next station button.
- Some probably that music will not play for first time.
If music starts - restart game and try again.
This module starts music:
https://github.com/SomeOneUnknown/A3FM/blob/master/Addons/Core/functions/fn_inVehicle.sqf
Additional Information
I tried to set:
playMusic ["radio200", 0];
It was always okay.
Then I tried to set:
playMusic ["radio200", 30];
And this happens again.
I think it's some kind of bug for loading addons music from big offset.
So I tried to set addMusicEventHandlers for start and end of music. At this bug only musicEnd event pushed.
Event Timeline
Comment Actions
I tried add this:
playMusic ["radio200", 15];
playMusic ["radio200", 45];
playMusic ["radio200", 30];
For some kind of "preloading".
And it works almost always.