camConstuctionSetParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Some wiki formatting)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
Line 15: Line 15:
|gr1= Camera Control
|gr1= Camera Control


| Sets construction camera parameters. To work with "camconstruct" object.
|descr= Sets construction camera parameters. To work with "camconstruct" object.
{{Feature|important|Beware: {{sic|camCon'''stu'''ctionSetParams|camConstRuctionSetParams}}.}}


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


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


|p2= <nowiki>[[x,y,z], radius, maxAboveLand]</nowiki>: [[Array]]
|p3= position: [[Array]] format [[Position]]
 
|p3= [x,y,z]: [[Position]]


|p4= radius: [[Number]]
|p4= radius: [[Number]]
Line 31: Line 30:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[camCreate]], [[cameraEffect]]
|seealso= [[camCreate]] [[cameraEffect]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 22:24, 4 September 2022

Hover & click on the images for description

Description

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

Syntax

Syntax:
camera camConstuctionSetParams [position, radius, maxAboveLand]
Parameters:
camera: Object
position: Array format Position
radius: Number
maxAboveLand: Number
Return Value:
Nothing

Examples

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

Additional Information

See also:
camCreate cameraEffect

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