mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
25 lines
493 B
Plaintext
25 lines
493 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: Kingsley
|
|
* Reminds about lowered volume.
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [] call ace_volume_fnc_remind
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
// Exit if reminder not enabled or not lowered
|
|
if (!XGVAR(remindIfLowered) || {!GVAR(isLowered)}) exitWith {};
|
|
|
|
[LLSTRING(LoweredReminder)] call EFUNC(common,displayTextStructured);
|
|
|
|
// Fire another reminder in 60s
|
|
[FUNC(remind), [], REMINDER_DELAY] call CBA_fnc_waitAndExecute;
|