BIS fnc cinemaBorder: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= GUI |GROUP1= | |gr1= GUI |GROUP1= | ||
|Creates cinematic borders. Player cannot move during cutscene.|DESCRIPTION= | |Creates cinematic borders. Player cannot move during cutscene.|DESCRIPTION= | ||
| [mode, duration, sound, view] call [[BIS_fnc_cinemaBorder]] |SYNTAX= | | [mode, duration, sound, view] call [[BIS_fnc_cinemaBorder]] |SYNTAX= | ||
|p1= mode: [[Number]] - Can be: | |p1= mode: [[Number]] - Can be: | ||
Line 21: | Line 17: | ||
|p3= sound: [[Boolean]] - (Optional, default [[false]]) Play sound |PARAMETER3= | |p3= sound: [[Boolean]] - (Optional, default [[false]]) Play sound |PARAMETER3= | ||
|p4= view: [[Boolean]] - (Optional, default [[false]] Lock 1st-person-view) |PARAMETER4= | |p4= view: [[Boolean]] - (Optional, default [[false]] Lock 1st-person-view) |PARAMETER4= | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[1, 2, [[true]], [[true]] ] [[call]] [[BIS_fnc_cinemaBorder]];</code> |= | |x1= <code>[1, 2, [[true]], [[true]] ] [[call]] [[BIS_fnc_cinemaBorder]];</code> |= | ||
| [[disableUserInput]], [[userInputDisabled]] |SEEALSO= | | [[disableUserInput]], [[userInputDisabled]] |SEEALSO= |
Revision as of 22:38, 16 January 2021
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 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