addCuratorEditableObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 91639 by Badguy360th_bi_wiki on 2015-08-30T16:55:31Z)
m (template:command argument fix)
Line 13: Line 13:


| curatorObj '''addCuratorEditableObjects''' [objects,addCrew] |= Syntax
| curatorObj '''addCuratorEditableObjects''' [objects,addCrew] |= Syntax
|p1= [objects,addCrew]: [[Array]] |= PARAMETER1
|p1= [objects,addCrew]: [[Array]] |PARAMETER1=
|p2= curatorObj: [[Object]] - Curator module. |= PARAMETER2
|p2= curatorObj: [[Object]] - Curator module. |PARAMETER2=


|p3= objects: [[Array]]  |= PARAMETER3
|p3= objects: [[Array]]  |PARAMETER3=
   
   
|p4= addCrew: [[Boolean]]  |= PARAMETER4
|p4= addCrew: [[Boolean]]  |PARAMETER4=  


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




|x1= <code>curatorModule [[addCuratorEditableObjects]] <nowiki>[[</nowiki>car],[[true]] ];</code>|= EXAMPLE1
|x1= <code>curatorModule [[addCuratorEditableObjects]] <nowiki>[[</nowiki>car],[[true]] ];</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Curator]], [[allCurators]], [[removeCuratorEditableObjects]], [[curatorEditableObjects]] |= SEEALSO
| [[Curator]], [[allCurators]], [[removeCuratorEditableObjects]], [[curatorEditableObjects]] |SEEALSO=  


| mp= Can be executed only on server |= MPBEHAVIOUR
| mp= Can be executed only on server |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:28, 7 April 2019

Hover & click on the images for description

Description

Description:
Register objects which can be edited by a curator.
Multiplayer:
Can be executed only on server
Groups:
Uncategorised

Syntax

Syntax:
curatorObj addCuratorEditableObjects [objects,addCrew]
Parameters:
[objects,addCrew]: Array
curatorObj: Object - Curator module.
objects: Array
addCrew: Boolean
Return Value:
Nothing

Examples

Example 1:
curatorModule addCuratorEditableObjects [[car],true ];

Additional Information

See also:
CuratorallCuratorsremoveCuratorEditableObjectscuratorEditableObjects

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

Notes

Bottom Section