BIS fnc cinemaBorder: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |s1=[" to " |s1= [")
("[1, 2] call BIS_fnc_cinemaBorder;" will play sound so playing sound is true by default, also fixed brackets)
Line 14: Line 14:
*1 - Out
*1 - Out
|p2= duration: [[Number]] - (Optional, default 1.5) Duration in seconds
|p2= duration: [[Number]] - (Optional, default 1.5) Duration in seconds
|p3= sound: [[Boolean]] - (Optional, default [[false]]) Play sound
|p3= sound: [[Boolean]] - (Optional, default [[true]]) Play sound
|p4= view: [[Boolean]] - (Optional, default [[false]] Lock 1st-person-view)
|p4= view: [[Boolean]] - (Optional, default [[false]]) Lock 1st-person-view


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

Revision as of 16:41, 15 October 2022

Hover & click on the images for description

Description

Description:
Creates cinematic borders. Player cannot move during cutscene.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[mode, duration, sound, view] call BIS_fnc_cinemaBorder
Parameters:
mode: Number - Can be:
  • 0 - In
  • 1 - Out
duration: Number - (Optional, default 1.5) Duration in seconds
sound: Boolean - (Optional, default true) Play sound
view: Boolean - (Optional, default false) Lock 1st-person-view
Return Value:
Nothing

Examples

Example 1:
[1, 2, true, true ] call BIS_fnc_cinemaBorder;

Additional Information

See also:
disableUserInput userInputDisabled

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