addCuratorCameraArea: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


| arma3 |Game name=
|game1= arma3
|version1= 1.16


|1.16|Game version=
|serverExec= server


|gr1= Curator |GROUP1=
|gr1= Curator


| Adds or changes curator camera area (depends on if ID is already used). |DESCRIPTION=
|descr= Adds or changes curator camera area (depends on if ID is already used).


| curatorObj '''addCuratorCameraArea''' [cameraAreaID,position,radius] |SYNTAX=
|s1= curatorObj [[addCuratorCameraArea]] [cameraAreaID, position, radius]
|p1= [cameraAreaID,position,radius]: [[Array]] |PARAMETER1=
|p2= curatorObj: [[Object]] - Curator module.  |PARAMETER2= 


|p3= cameraAreaID: [[Number]] |PARAMETER3=
|p1= curatorObj: [[Object]] - curator module.


|p4= position: [[Position]] |PARAMETER4=
|p2= cameraAreaID: [[Number]]


|p5= radius: [[Number]] |PARAMETER5=
|p3= position: [[Position]]


| [[Nothing]] |RETURNVALUE=
|p5= radius: [[Number]]


|r1= [[Nothing]]


|x1= <code>myCurator [[addCuratorCameraArea]] [3,[[position]] mySoldier,300];</code>|EXAMPLE1=
|x1= <sqf>myCurator addCuratorCameraArea [3,position mySoldier,300];</sqf>


 
|seealso= [[Arma 3: Curator]] [[removeCuratorCameraArea]] [[removeAllCuratorCameraAreas]] [[curatorCameraArea]]
| [[Curator]], [[removeCuratorCameraArea]], [[removeAllCuratorCameraAreas]], [[curatorCameraArea]] |SEEALSO=
 
| mp= Can be executed only on server |MPBEHAVIOUR=
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 13:59, 8 November 2023

Hover & click on the images for description

Description

Description:
Adds or changes curator camera area (depends on if ID is already used).
Groups:
Curator

Syntax

Syntax:
curatorObj addCuratorCameraArea [cameraAreaID, position, radius]
Parameters:
curatorObj: Object - curator module.
cameraAreaID: Number
position: Position
radius: Number
Return Value:
Nothing

Examples

Example 1:
myCurator addCuratorCameraArea [3,position mySoldier,300];

Additional Information

See also:
Arma 3: Curator removeCuratorCameraArea removeAllCuratorCameraAreas curatorCameraArea

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