removeCuratorEditableObjects: Difference between revisions

From Bohemia Interactive Community
(named params and some clean up)
m (fix syntax - doubled object array)
 
(11 intermediate revisions by 2 users not shown)
Line 2: Line 2:


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


Line 11: Line 10:
|descr= Unregister objects which can be edited by a curator.
|descr= Unregister objects which can be edited by a curator.


|s1= curatorObj [[removeCuratorEditableObjects]] <nowiki>[[</nowiki>objects], removeCrew]
|s1= curatorObj [[removeCuratorEditableObjects]] [objects, removeCrew]


|p1= curatorObj: [[Object]] - Curator module
|p1= curatorObj: [[Object]] - curator module


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


|p3= removeCrew: [[Boolean]]
|p3= removeCrew: [[Boolean]] - (Optional, default [[true]])


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>curatorModule [[removeCuratorEditableObjects]] <nowiki>[[</nowiki>[[cursorTarget]]], [[true]]]</code>
|x1= <sqf>curatorModule removeCuratorEditableObjects [[cursorTarget], true];</sqf>
 
|seealso= [[Arma 3: Curator]], [[addCuratorEditableObjects]], [[curatorEditableObjects]]


|seealso= [[Arma 3: Curator]] [[addCuratorEditableObjects]] [[curatorEditableObjects]]
}}
}}

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