BIS fnc cinemaBorder: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
Line 19: Line 19:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[1, 2, true, [[true]] ] [[call]] [[BIS_fnc_cinemaBorder]];</code>
|x1= <code>[1, 2, true, true ] [[call]] [[BIS_fnc_cinemaBorder]];</code>


|seealso= [[disableUserInput]] [[userInputDisabled]]
|seealso= [[disableUserInput]] [[userInputDisabled]]
}}
}}

Revision as of 22:36, 12 July 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 false) 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