assignCurator: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.16|Game version=
|1.16


|serverExec= server
|serverExec= server


|gr1= Curator |GROUP1=
|gr1= Curator


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


| player '''assignCurator''' curatorObj |SYNTAX=
| player '''assignCurator''' curatorObj


|p1= player: [[Object]] |PARAMETER1=
|p1= player: [[Object]]


|p2= curatorObj: [[Object]] - Curator module. |PARAMETER2= 
|p2= curatorObj: [[Object]] - Curator module.


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




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


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


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

Revision as of 00:03, 18 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