camSetBank: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(63 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|CAMSETBANK]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.97|CAMSETBANK]]
[[Category:Scripting Commands OFP 1.46|CAMSETBANK]]
[[Category:Scripting Commands ArmA|CAMSETBANK]]


|game1= ofp
|version1= 1.00


<h2 style="color:#000066">'''''camera'' camSetBank ''bank'''''</h2>
|game2= ofpe
|version2= 1.00


|game3= arma1
|version3= 1.00


'''Operand types:'''
|game4= arma2
|version4= 1.00


'''camera:''' [[Object]]
|game5= arma2oa
|version5= 1.50


'''bank:''' [[Number]]
|game6= tkoh
|version6= 1.00


'''Type of returned value:'''
|game7= arma3
|version7= 0.50


[[Nothing]]
|gr1= Broken Commands
|gr2= Camera Control


'''Description:'''
|descr= Sets camera bank angle. Does not commit changes.
{{Feature|warning|This command is '''non-functional'''!}}


Set '''camera''' '''bank''' angle.
|s1= camera [[camSetBank]]  bank


Does not commit changes.
|p1= camera: [[Object]]


|p2= bank: [[Number]]


'''Example:'''
|r1= [[Nothing]]


_camera '''camSetBank''' -0.1
|x1= <sqf>_camera camSetBank -0.1;</sqf>
 
|seealso= [[camSetDive]] [[setVectorUp]]
}}

Latest revision as of 01:24, 2 February 2024

Hover & click on the images for description

Description

Description:
Sets camera bank angle. Does not commit changes.
This command is non-functional!
Groups:
Broken CommandsCamera Control

Syntax

Syntax:
camera camSetBank bank
Parameters:
camera: Object
bank: Number
Return Value:
Nothing

Examples

Example 1:
_camera camSetBank -0.1;

Additional Information

See also:
camSetDive setVectorUp

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