Skip to content

Commit

Permalink
fixed default volume
Browse files Browse the repository at this point in the history
  • Loading branch information
MildlyInterested committed Sep 28, 2023
1 parent 8e11189 commit f0614bc
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
20 changes: 20 additions & 0 deletions .vscode/sqfvm-lsp/ls-ignore.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
################################################################
### This file contains a list of paths to ignore changes of. ###
### The paths are relative to the workspace root. ###
### The paths are separated by newlines. ###
### Note that this is not behaving like a .gitignore file, ###
### and you cannot invert some paths by prefixing them with ###
### a ! or use wildcards. ###
### Any subfolder of a path is also ignored. ###
### Important: No leading or trailing whitespace is allowed ###
### on any line. ###
### Changing anything in this file will have no effect until ###
### the language server is restarted. ###
### Keep in mind that already analyzed files will not be ###
### re-analyzed OR removed from the database. ###
################################################################
.vscode\sqfvm-lsp
.vscode
.github
.git
.hemtt
15 changes: 7 additions & 8 deletions initPlayerLocal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ if (player getVariable ["16AA_Laserdesignator_Backpack", false]) then {
};

// Set speech volume to 1/4
FW_Acre_Volume_Value = 0.25;

[{
call acre_api_fnc_isInitialized
}, {
[0.4] call acre_api_fnc_setSelectableVoiceCurve;
acre_sys_gui_volumeLevel = FW_Acre_Volume_Value;
}, player] call CBA_fnc_waitUntilAndExecute;
[
{call acre_api_fnc_isInitialized},
{
[0.4] call acre_api_fnc_setSelectableVoiceCurve;
acre_sys_gui_volumeLevel = 0.25;
}
] call CBA_fnc_waitUntilAndExecute;

// Set appropriate 16AA Drop Zone Flash for the players
_group_player = groupId (group player);
Expand Down

0 comments on commit f0614bc

Please sign in to comment.