BIS fnc EXP camp setCinematicMode: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )H([a-z])" to "$1h$3") |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.62 | |version1= 1.62 | ||
|gr1= Campaign | |||
|descr= | |descr= Sets cinematic mode, with cinematic mode enabled the sounds are muted and screen is black. | ||
|mp= Must be executed for every player. | |mp= Must be executed for every player. | ||
|s1= [mode, fadeBlack, fadeSound] call [[BIS_fnc_EXP_camp_setCinematicMode]] | |||
|p1= mode: [[Boolean]] - (Optional, default [[false]]) [[ | |p1= mode: [[Boolean]] - (Optional, default [[false]]) [[true]] to enable, [[false]] to disable | ||
| | |p2= fadeBlack: [[Number]] - (Optional, default 5) how long it takes in seconds to fade the screen | ||
| | |p3= fadeSound: [[Number]] - (Optional, default 5) how long it takes in seconds to fade the sound | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[true, 3, 3] call BIS_fnc_EXP_camp_setCinematicMode;</sqf> | ||
|seealso= [[BIS_fnc_EXP_camp_getCinematicMode]] | |seealso= [[BIS_fnc_EXP_camp_getCinematicMode]] | ||
}} | }} | ||
Latest revision as of 12:29, 8 November 2023
Description
- Description:
- Sets cinematic mode, with cinematic mode enabled the sounds are muted and screen is black.
- Execution:
- call
- Multiplayer:
- Must be executed for every player.
- Groups:
- Campaign
Syntax
- Syntax:
- [mode, fadeBlack, fadeSound] call BIS_fnc_EXP_camp_setCinematicMode
- Parameters:
- mode: Boolean - (Optional, default false) true to enable, false to disable
- fadeBlack: Number - (Optional, default 5) how long it takes in seconds to fade the screen
- fadeSound: Number - (Optional, default 5) how long it takes in seconds to fade the sound
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- BIS_fnc_EXP_camp_getCinematicMode
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note