camSetBank: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(49 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|CAMSETBANK]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.96|CAMSETBANK]]
[[Category:Scripting Commands OFP 1.46|CAMSETBANK]]
[[Category:Scripting Commands ArmA|CAMSETBANK]]
[[Category:Command Group: Camera Control|CAMSETBANK]]


{{Command|= Comments
|game1= ofp
____________________________________________________________________________________________
|version1= 1.00


| ofp |= Game name
|game2= ofpe
|version2= 1.00


|1.00|= Game version
|game3= arma1
____________________________________________________________________________________________
|version3= 1.00


| Set '''camera''' '''bank''' angle.
|game4= arma2
|version4= 1.00


Does not commit changes. |= Description
|game5= arma2oa
____________________________________________________________________________________________
|version5= 1.50


| camera '''camSetBank''' bank |= Syntax
|game6= tkoh
|version6= 1.00


|p1 = camera: [[Object]]
|game7= arma3
|version7= 0.50


|p2 = bank: [[Number]]
|gr1= Broken Commands
|gr2= Camera Control


| [[Nothing]] |= Return value
|descr= Sets camera bank angle. Does not commit changes.
____________________________________________________________________________________________
{{Feature|warning|This command is '''non-functional'''!}}
|x1 = <code>_camera '''camSetBank''' -0.1 </code>


| [[camSetDive]], [[setVectorUp]], [[fn vbs setPitchBank (VBS2)]] |= See also
|s1= camera [[camSetBank]] bank


}}
|p1= camera: [[Object]]
 
|p2= bank: [[Number]]


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<dd class="notedate">Posted on Apr 15, 2010</dd>
|x1= <sqf>_camera camSetBank -0.1;</sqf>
<dt class="note">'''[[User:Kronzky|Kronzky]]'''</dt>
<dd class="note">Command is non-functional.<br>Instead, use [[fn vbs setPitchBank (VBS2)|fn vbs setPitchBank]] in VBS2, or [[setVectorUp]] or [http://forums.bistudio.com/showthread.php?t=67384  this user function] in Arma.</dd>
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[camSetDive]] [[setVectorUp]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
}}

Latest revision as of 00: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