BIS fnc cinemaBorder: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
("[1, 2] call BIS_fnc_cinemaBorder;" will play sound so playing sound is true by default, also fixed brackets)
No edit summary
Line 22: Line 22:


|seealso= [[disableUserInput]] [[userInputDisabled]]
|seealso= [[disableUserInput]] [[userInputDisabled]]
}}
{{Note
|user= Honger
|timestamp= 20221015144335
|text= When cinematic borders are active and player is not provided with any animation, he can abuse the movement lock by vaulting (default button V).
}}
}}

Revision as of 15:43, 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
Honger - c
Posted on Oct 15, 2022 - 14:43 (UTC)
When cinematic borders are active and player is not provided with any animation, he can abuse the movement lock by vaulting (default button V).