{"name":"BIS_fnc_cinemaBorder","title":"BIS fnc cinemaBorder","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_cinemaBorder","revid":348331,"updated":"2023-11-08T12:59:44Z","groups":["GUI"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Creates cinematic borders. Player cannot move during cutscene.","syntaxes":[{"syntax":"[mode, duration, sound, view] call BIS_fnc_cinemaBorder","params":[{"name":"mode","type":"Number","description":"can be:\n\n- 0 - In\n- 1 - Out","type_expr":"Number"},{"name":"duration","type":"Number","optional":true,"default":"1.5","description":"duration in seconds","type_expr":"Number","text":"duration: Number - (Optional, default 1.5) duration in seconds"},{"name":"sound","type":"Boolean","optional":true,"default":"true","description":"play sound","type_expr":"Boolean","text":"sound: Boolean - (Optional, default true) play sound"},{"name":"view","type":"Boolean","optional":true,"default":"false","description":"lock 1st-person-view","type_expr":"Boolean","text":"view: Boolean - (Optional, default false) lock 1st-person-view"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[1, 2, true, true] call BIS_fnc_cinemaBorder;"]}],"see_also":["disableUserInput","userInputDisabled"],"notes":[{"user":"Honger","date":"2022-10-15T14:43:35Z","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)."}]}