BIS fnc cinemaBorder: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= GUI | |gr1= GUI | ||
|Creates cinematic borders. Player cannot move during cutscene. | |Creates cinematic borders. Player cannot move during cutscene. | ||
| [mode, duration, sound, view] call [[BIS_fnc_cinemaBorder]] | | [mode, duration, sound, view] call [[BIS_fnc_cinemaBorder]] | ||
|p1= mode: [[Number]] - Can be: | |p1= mode: [[Number]] - Can be: | ||
*0 - In | *0 - In | ||
*1 - Out | *1 - Out | ||
|p2= duration: [[Number]] - (Optional, default 1.5) Duration in seconds | |p2= duration: [[Number]] - (Optional, default 1.5) Duration in seconds | ||
|p3= sound: [[Boolean]] - (Optional, default [[false]]) Play sound | |p3= sound: [[Boolean]] - (Optional, default [[false]]) Play sound | ||
|p4= view: [[Boolean]] - (Optional, default [[false]] Lock 1st-person-view) | |p4= view: [[Boolean]] - (Optional, default [[false]] Lock 1st-person-view) | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[1, 2, [[true]], [[true]] ] [[call]] [[BIS_fnc_cinemaBorder]];</code> | |x1= <code>[1, 2, [[true]], [[true]] ] [[call]] [[BIS_fnc_cinemaBorder]];</code> | ||
| [[disableUserInput]], [[userInputDisabled]] | | [[disableUserInput]], [[userInputDisabled]] | ||
}} | }} | ||
Revision as of 22:37, 17 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