assignCurator: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.16
|1.16


|serverExec= server
|serverExec= server
Line 9: Line 8:
|gr1= Curator
|gr1= Curator


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


| player '''assignCurator''' curatorObj
|s1= player [[assignCurator]] curatorObj


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


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


| [[Nothing]]
|r1= [[Nothing]]


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


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


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

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