assignCurator: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(example)
m (I'd rather not encourage spawning of curator logic on the fly)
Line 20: Line 20:


|x1= <code>[[player]] [[assignCurator]] myCurator;</code>|= EXAMPLE1  
|x1= <code>[[player]] [[assignCurator]] myCurator;</code>|= EXAMPLE1  
|x2= <code>_curatorObj = [[createGroup]] [[sideLogic]] [[createUnit]] [
"ModuleCurator_F",
[0,0,0],
[],
0,
"NONE"
];
_playerServerUnit [[assignCurator]] _curatorObj;</code>|= EXAMPLE2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:30, 18 February 2014

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:
Uncategorised

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