camConstuctionSetParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Some wiki formatting)
 
(4 intermediate revisions by the same user not shown)
Line 16: Line 16:


|descr= 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]]
}}
}}

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