addCuratorCameraArea: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(38 intermediate revisions by 3 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
____________________________________________________________________________________________


| Adds or changes curator camera area (depends on if ID is already used). |= Description
|gr1= Curator
____________________________________________________________________________________________


| curatorObj '''addCuratorCameraArea''' [cameraAreaID,position,radius] |= Syntax
|descr= Adds or changes curator camera area (depends on if ID is already used).
|p1= [cameraAreaID,position,radius]: [[Array]] |= PARAMETER1
|p2= curatorObj: [[Object]] - Curator module. |= PARAMETER2 


|p3= cameraAreaID: [[Number]] |= PARAMETER3
|s1= curatorObj [[addCuratorCameraArea]] [cameraAreaID, position, radius]


|p4= position: [[Position]] |= PARAMETER4
|p1= curatorObj: [[Object]] - curator module.


|p5= radius: [[Number]] |= PARAMETER5
|p2= cameraAreaID: [[Number]]


| [[Nothing]] |= RETURNVALUE
|p3= position: [[Position]]


|p5= radius: [[Number]]


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


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


| [[Curator]], [[removeCuratorCameraArea]], [[removeAllCuratorCameraAreas]], [[curatorCameraArea]] |= SEEALSO
|seealso= [[Arma 3: Curator]] [[removeCuratorCameraArea]] [[removeAllCuratorCameraAreas]] [[curatorCameraArea]]
 
| 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>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Curator|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Camera Control|addCuratorCameraArea]]

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