BIS fnc cinemaBorder: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
|Creates cinematic borders. Player cannot move during cutscene.|= Description
____________________________________________________________________________________________


Description:
| [mode, duration, sound, view] call [[BIS_fnc_cinemaBorder]] |= Syntax
Moves camera borders.
____________________________________________________________________________________________
 
Parameter(s):
_this select 0: NUMBER - Mode (0 - in, 1 - out)
_this select 1: NUMBER - Duration in seconds (default - 1.5)
_this select 2: BOOL - Play sound (default - true)
_this select 3: BOOL - lock 1st person view (default - false)
 
Returns:
Nothing
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= mode: [[Number]] - Can be:
*0 - In
*1 - Out|= Parameter 1
|p2= duration: [[Number]] - (Optional, default 1.5) Duration in seconds |= Parameter 2
|p3= sound: [[Boolean]] - (Optional, default [[false]]) Play sound  |= Parameter 3
|p4= view: [[Boolean]] - (Optional, default [[false]] Lock 1st-person-view) |= Parameter 4
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_cinemaBorder]]; --> |= Syntax
| [[Nothing]] |= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| |= See also
| [[disableUserInput]], [[userInputDisabled]] |= See also
 
}}
}}



Revision as of 13:57, 30 May 2018

Hover & click on the images for description

Description

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

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:
disableUserInputuserInputDisabled

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

Notes

Bottom Section