{"name":"BIS_fnc_cinemaBorder","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Creates cinematic borders. Player cannot move during cutscene.","syntaxes":[{"syntax":"[mode, duration, sound, view] call BIS_fnc_cinemaBorder","since":null,"effect":null,"exec":null,"params":[{"name":"mode","type":"Number","optional":false,"default":null,"description":"can be:\n- 0 - In\n- 1 - Out","types":["Number"],"since":null,"text":"mode: Number - can be:\n- 0 - In\n- 1 - Out"},{"name":"duration","type":"Number","optional":true,"default":"1.5","description":"duration in seconds","types":["Number"],"since":null,"text":"duration: Number - (Optional, default 1.5) duration in seconds"},{"name":"sound","type":"Boolean","optional":true,"default":"true","description":"play sound","types":["Boolean"],"since":null,"text":"sound: Boolean - (Optional, default true) play sound"},{"name":"view","type":"Boolean","optional":true,"default":"false","description":"lock 1st-person-view","types":["Boolean"],"since":null,"text":"view: Boolean - (Optional, default false) lock 1st-person-view"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[1, 2, true, true] call BIS_fnc_cinemaBorder;\n```","code":["[1, 2, true, true] call BIS_fnc_cinemaBorder;"]}],"multiplayer":null,"problems":null,"aliases":[],"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)."}],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: GUI","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}