BIS fnc EXP camp setCinematicMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (page filled)
m (added more parameters)
Line 15: Line 15:
|mp= Must be executed for every player.
|mp= Must be executed for every player.


||s1= [mode] call [[BIS_fnc_EXP_camp_setCinematicMode]]|=Syntax
||s1= [mode,fadeBlack,fadeSound] call [[BIS_fnc_EXP_camp_setCinematicMode]]|=Syntax


|p1= mode: [[Boolean]] - (Optional, default [[false]]) [[True]] to enable, [[false]] to disable
|p1= mode: [[Boolean]] - (Optional, default [[false]]) [[True]] to enable, [[false]] to disable
|p3= mode: [[Number]] - (Optional, default 5) How long it takes in seconds to fade the screen
|p2= mode: [[Number]] - (Optional, default 5) How long it takes in seconds to fade the sound


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code><noWiki>[</noWiki>[[true]]<noWiki>]</noWiki> [[call]] [[BIS_fnc_EXP_camp_setCinematicMode]];</code>
|x1= <code><noWiki>[</noWiki>[[true]]<noWiki>,3,3]</noWiki> [[call]] [[BIS_fnc_EXP_camp_setCinematicMode]];</code>


|exec= call
|exec= call

Revision as of 22:42, 13 January 2020

Hover & click on the images for description

Description

Description:
Set's cinematic mode, with cinematic mode enabled the sounds are muted and screen is black.
Execution:
call
Multiplayer:
Must be executed for every player.
Groups:
Uncategorised

Syntax

Syntax:
[mode,fadeBlack,fadeSound] call BIS_fnc_EXP_camp_setCinematicMode
Parameters:
mode: Boolean - (Optional, default false) True to enable, false to disable
mode: Number - (Optional, default 5) How long it takes in seconds to fade the sound
mode: Number - (Optional, default 5) How long it takes in seconds to fade the screen
Return Value:
Nothing

Examples

Example 1:
[true,3,3] call BIS_fnc_EXP_camp_setCinematicMode;

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