BIS fnc cinemaBorder: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |Creates cinematic borders. Player cannot move during cutscene.|= Description | ||
____________________________________________________________________________________________ | |||
| [mode, duration, sound, view] call [[BIS_fnc_cinemaBorder]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|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 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Nothing]] |= 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
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