addCuratorCameraArea: Difference between revisions

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


| arma3
|game1= arma3
|version1= 1.16


|1.16
|serverExec= server


|gr1= Curator
|gr1= Curator


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


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


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


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


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


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


| [[Curator]], [[removeCuratorCameraArea]], [[removeAllCuratorCameraAreas]], [[curatorCameraArea]]
|x1= <sqf>myCurator addCuratorCameraArea [3,position mySoldier,300];</sqf>


|mp= Can be executed only on server
|seealso= [[Arma 3: Curator]] [[removeCuratorCameraArea]] [[removeAllCuratorCameraAreas]] [[curatorCameraArea]]
}}
}}
{{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