mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
28 lines
553 B
Plaintext
28 lines
553 B
Plaintext
|
#include "script_component.hpp"
|
||
|
/*
|
||
|
* Author: Kingsley
|
||
|
* Restores the game and music volume to what it was when the mission first started,
|
||
|
*
|
||
|
* Arguments:
|
||
|
* None
|
||
|
*
|
||
|
* Return Value:
|
||
|
* None
|
||
|
*
|
||
|
* Example:
|
||
|
* [] call ace_volume_fnc_restoreVolume
|
||
|
*
|
||
|
* Public: No
|
||
|
*/
|
||
|
|
||
|
EGVAR(hearing,disableVolumeUpdate) = false;
|
||
|
|
||
|
XGVAR(fadeDelay) fadeSound GVAR(initialGameVolume);
|
||
|
XGVAR(fadeDelay) fadeMusic GVAR(initialMusicVolume);
|
||
|
|
||
|
GVAR(isLowered) = false;
|
||
|
|
||
|
if (XGVAR(showNotification)) then {
|
||
|
[LLSTRING(Restored)] call EFUNC(common,displayTextStructured);
|
||
|
};
|