assignCurator: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 9: Line 8:


|gr1= Curator |GROUP1=
|gr1= Curator |GROUP1=
____________________________________________________________________________________________


| Assign player as curator. Two players cannot act as one curator. |DESCRIPTION=
| Assign player as curator. Two players cannot act as one curator. |DESCRIPTION=
____________________________________________________________________________________________


| player '''assignCurator''' curatorObj |SYNTAX=
| player '''assignCurator''' curatorObj |SYNTAX=
Line 24: Line 21:


|x1= <code>[[player]] [[assignCurator]] myCurator;</code>|EXAMPLE1=  
|x1= <code>[[player]] [[assignCurator]] myCurator;</code>|EXAMPLE1=  
____________________________________________________________________________________________


| [[Curator]], [[unassignCurator]] |SEEALSO=  
| [[Curator]], [[unassignCurator]] |SEEALSO=  


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



Revision as of 01:06, 17 January 2021

Hover & click on the images for description

Description

Description:
Assign player as curator. Two players cannot act as one curator.
Multiplayer:
Can be executed only on server
Groups:
Curator

Syntax

Syntax:
player assignCurator curatorObj
Parameters:
player: Object
curatorObj: Object - Curator module.
Return Value:
Nothing

Examples

Example 1:
player assignCurator myCurator;

Additional Information

See also:
CuratorunassignCurator

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