Difference between revisions of "FadeSFX"

336 bytes added ,  23:45, 28 September 2011
no edit summary
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>ElijahHouck
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{Function
|origin = GECK1
|origin = GECK1
|summary = '''FadeSFX''' disabled all the sounds except the music.
|summary = '''FadeSFX''' disabled all the sounds except the music.
Useful when showing Bink Video files.
Useful when showing Bink Video files.
|returnType = void
|name = FadeSFX
|arguments = {{FunctionArgument
|alias = FSFX
|returnType = void
|arguments = {{FunctionArgument
     |Name = enable
     |Name = enable
     |Type = float
     |Type = float
   }}
   }}
|example = FSFX 4
|example = FadeSFX 4
 
FSFX 4
}}
}}


=='''Notes'''==
=='''Notes'''==
* Caution: There is no way to reverse this, only useful when ending the game.
* Correction: FadeSFX is reversable, it appears, by simply playing a Bink video file. As soon as the video ends, sound is restored. As far as I can tell, it is still irreversible without playing a video.
 
* The float value controls the number of seconds it takes for the audio to fully fade out. Useful if you have a fade-to-black ISFX and you want it to match up.


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Functions (GECK 1.1)]]
Anonymous user