removeCuratorEditableObjects: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (fix syntax - doubled object array)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.16
|1.16


|serverExec= server
|serverExec= server
Line 9: Line 8:
|gr1= Curator
|gr1= Curator


| Unregister objects which can be edited by a curator.
|descr= Unregister objects which can be edited by a curator.
 
| curatorObj '''removeCuratorEditableObjects''' <nowiki>[[</nowiki>objects],removeCrew]


|p1= curatorObj: [[Object]] - Curator module.
|s1= curatorObj [[removeCuratorEditableObjects]] [objects, removeCrew]
|p2 = <nowiki>[[</nowiki>objects],removeCrew]: [[Array]]
|p3= objects: [[Array]]


|p4= removeCrew: [[Boolean]]
|p1= curatorObj: [[Object]] - curator module


| [[Nothing]]
|p2= objects: [[Array]] - array of [[Object]]s


|x1= <code>curatorModule removeCuratorEditableObjects <nowiki>[[</nowiki>[[cursorTarget]]],true]</code>
|p3= removeCrew: [[Boolean]] - (Optional, default [[true]])


|r1= [[Nothing]]


| [[Curator]], [[addCuratorEditableObjects]], [[curatorEditableObjects]]
|x1= <sqf>curatorModule removeCuratorEditableObjects [[cursorTarget], true];</sqf>


| mp= Can be executed only on server |MPBEHAVIOUR=  
|seealso= [[Arma 3: Curator]] [[addCuratorEditableObjects]] [[curatorEditableObjects]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 19:29, 8 October 2025

Hover & click on the images for description

Description

Description:
Unregister objects which can be edited by a curator.
Groups:
Curator

Syntax

Syntax:
curatorObj removeCuratorEditableObjects [objects, removeCrew]
Parameters:
curatorObj: Object - curator module
objects: Array - array of Objects
removeCrew: Boolean - (Optional, default true)
Return Value:
Nothing

Examples

Example 1:
curatorModule removeCuratorEditableObjects [[cursorTarget], true];

Additional Information

See also:
Arma 3: Curator addCuratorEditableObjects curatorEditableObjects

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