camConstuctionSetParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


|gr1= Camera Control |GROUP1=
|gr1= Camera Control |GROUP1=
____________________________________________________________________________________________


| Sets construction camera parameters. To work with "camconstruct" object. |DESCRIPTION=
| Sets construction camera parameters. To work with "camconstruct" object. |DESCRIPTION=
____________________________________________________________________________________________


| camera '''camConstuctionSetParams''' <nowiki>[[x,y,z], radius, maxAboveLand]</nowiki> |SYNTAX=
| camera '''camConstuctionSetParams''' <nowiki>[[x,y,z], radius, maxAboveLand]</nowiki> |SYNTAX=
Line 29: Line 26:
|x1= <code>_camera [[camConstuctionSetParams]] [<nowiki/>[[getPos]] [[player]], 50, 20];</code>|EXAMPLE1=  
|x1= <code>_camera [[camConstuctionSetParams]] [<nowiki/>[[getPos]] [[player]], 50, 20];</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[camCreate]], [[cameraEffect]] |SEEALSO=  
| [[camCreate]], [[cameraEffect]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 01:24, 17 January 2021

Hover & click on the images for description

Description

Description:
Sets construction camera parameters. To work with "camconstruct" object.
Groups:
Camera Control

Syntax

Syntax:
camera camConstuctionSetParams [[x,y,z], radius, maxAboveLand]
Parameters:
camera: Object
[[x,y,z], radius, maxAboveLand]: Array
[x,y,z]: Position
radius: Number
maxAboveLand: Number
Return Value:
Nothing

Examples

Example 1:
_camera camConstuctionSetParams [getPos player, 50, 20];

Additional Information

See also:
camCreatecameraEffect

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

Notes

Bottom Section