Untitled


SUBMITTED BY: antoineh1

DATE: May 8, 2016, 8:35 p.m.

FORMAT: Text only

SIZE: 339 Bytes

HITS: 3951

  1. /*
  2. File: fn_fadeSound.sqf
  3. Description:
  4. Fades out sound.
  5. */
  6. life_fadeSound = !life_fadeSound;
  7. if (life_fadeSound) then
  8. {
  9. 1 fadeSound 0.1; // Faded to 10%
  10. titleText ["Your sound has been lowered.", "PLAIN"];
  11. }
  12. else
  13. {
  14. 1 fadeSound 1; // Returned to 100%
  15. titleText ["Your sound has returned to normal.", "PLAIN"];
  16. };

comments powered by Disqus