camConstuctionSetParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Some wiki formatting)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|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}}.}}


| 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 21: Line 28:
|p5= maxAboveLand: [[Number]]
|p5= maxAboveLand: [[Number]]


| [[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|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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