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 - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(21 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=
|serverExec= server


|serverExec= server|=
|gr1= Curator


|gr1= Curator |GROUP1=
|descr= Assign player as curator. Two players cannot act as one curator.
____________________________________________________________________________________________


| Assign player as curator. Two players cannot act as one curator. |DESCRIPTION=
|s1= player [[assignCurator]] curatorObj
____________________________________________________________________________________________


| player '''assignCurator''' curatorObj |SYNTAX=
|p1= player: [[Object]]


|p1= player: [[Object]] |PARAMETER1=
|p2= curatorObj: [[Object]] - curator module.


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


| [[Nothing]] |RETURNVALUE=  
|x1= <sqf>player assignCurator myCurator;</sqf>


|seealso= [[Arma 3: Curator]] [[unassignCurator]]


|x1= <code>[[player]] [[assignCurator]] myCurator;</code>|EXAMPLE1=
|mp= Can be executed only on server
____________________________________________________________________________________________
 
| [[Curator]], [[unassignCurator]] |SEEALSO=
 
| mp= Can be executed only on server |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 14:00, 8 November 2023

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:
Arma 3: Curator unassignCurator

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