BIS fnc cinemaBorder: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2") |
||
(30 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= GUI | ||
|Creates cinematic borders. Player cannot move during cutscene. | |descr=Creates cinematic borders. Player cannot move during cutscene. | ||
| [mode, duration, sound, view] call [[BIS_fnc_cinemaBorder]] | |s1= [mode, duration, sound, view] call [[BIS_fnc_cinemaBorder]] | ||
|p1= mode: [[Number]] - | |p1= mode: [[Number]] - can be: | ||
*0 - In | *0 - In | ||
*1 - Out | *1 - Out | ||
|p2= duration: [[Number]] - (Optional, default 1.5) | |p2= duration: [[Number]] - (Optional, default 1.5) duration in seconds | ||
|p3= sound: [[Boolean]] - (Optional, default [[ | |p3= sound: [[Boolean]] - (Optional, default [[true]]) play sound | ||
|p4= view: [[Boolean]] - (Optional, default [[false]] | |p4= view: [[Boolean]] - (Optional, default [[false]]) lock 1st-person-view | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[1, 2, true, true] call BIS_fnc_cinemaBorder;</sqf> | ||
| [[disableUserInput]] | |seealso= [[disableUserInput]] [[userInputDisabled]] | ||
}} | }} | ||
{{Note | |||
|user= Honger | |||
|timestamp= 20221015144335 | |||
|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). | |||
}} | |||
Latest revision as of 13:59, 8 November 2023
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 true) play sound
- view: Boolean - (Optional, default false) lock 1st-person-view
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- disableUserInput userInputDisabled
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
- Posted on Oct 15, 2022 - 14:43 (UTC)
- When cinematic borders are active and player is not provided with any animation, he can abuse the movement lock by vaulting (default button V).