camConstuctionSetParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[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 \("serv...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


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


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


| camera '''camConstuctionSetParams''' <nowiki>[[x,y,z], radius, maxAboveLand]</nowiki> |SYNTAX=
| camera '''camConstuctionSetParams''' <nowiki>[[x,y,z], radius, maxAboveLand]</nowiki>


|p1= camera: [[Object]] |PARAMETER1=
|p1= camera: [[Object]]


|p2= <nowiki>[[x,y,z], radius, maxAboveLand]</nowiki>: [[Array]] |PARAMETER2=
|p2= <nowiki>[[x,y,z], radius, maxAboveLand]</nowiki>: [[Array]]


|p3= [x,y,z]: [[Position]] |PARAMETER3=
|p3= [x,y,z]: [[Position]]


|p4= radius: [[Number]] |PARAMETER4=
|p4= radius: [[Number]]


|p5= maxAboveLand: [[Number]] |PARAMETER5=
|p5= maxAboveLand: [[Number]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]




|x1= <code>_camera [[camConstuctionSetParams]] [<nowiki/>[[getPos]] [[player]], 50, 20];</code>|EXAMPLE1=
|x1= <code>_camera [[camConstuctionSetParams]] [<nowiki/>[[getPos]] [[player]], 50, 20];</code>




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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 01:04, 18 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