objectCurators: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(18 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=
|gr1= Curator


|gr1= Curator |GROUP1=
|descr= Returns array with all curators which can edit given object.


| Returns array with all curators which can edit given object. |DESCRIPTION=
|s1= [[objectCurators]] obj


| '''objectCurators''' obj |SYNTAX=
|p1= obj: [[Object]]


|p1= obj: [[Object]] |PARAMETER1= 
|r1= [[Array]]


| [[Array]] |RETURNVALUE=  
|x1= <sqf>_curatorsThatcanEdit = objectCurators BIS_Tank;</sqf>


|x1= <code>_curatorsThatcanEdit = [[objectCurators]] BIS_Tank;</code>|EXAMPLE1=
|seealso= [[addCuratorEditableObjects]] [[curatorRegisteredObjects]] [[removeCuratorEditableObjects]]
 
 
| [[addCuratorEditableObjects]], [[curatorRegisteredObjects]], [[removeCuratorEditableObjects]] |SEEALSO=
 
|  |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 11:23, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns array with all curators which can edit given object.
Groups:
Curator

Syntax

Syntax:
objectCurators obj
Parameters:
obj: Object
Return Value:
Array

Examples

Example 1:
_curatorsThatcanEdit = objectCurators BIS_Tank;

Additional Information

See also:
addCuratorEditableObjects curatorRegisteredObjects removeCuratorEditableObjects

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