camConstuctionSetParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}") |
Lou Montana (talk | contribs) 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 00:24, 17 January 2021
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