getAssignedCuratorUnit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(See also and example)
Line 16: Line 16:
| [[Object]] |= RETURNVALUE  
| [[Object]] |= RETURNVALUE  


|x1= <code></code>|= EXAMPLE1  
|x1= <code>_curatorUnit = [[getAssignedCuratorUnit]] ([[allCurators]] [[select]] 0);
_curatorUnit [[joinAs]] <nowiki>[</nowiki>[[createGroup]] [[civilian]], 0];</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[getAssignedCuratorLogic]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 17:53, 17 August 2014

Hover & click on the images for description

Description

Description:
Returns unit assigned to curator logic.
Groups:
Uncategorised

Syntax

Syntax:
getAssignedCuratorUnit curatorObj
Parameters:
curatorObj: Object - Curator module.
Return Value:
Object

Examples

Example 1:
_curatorUnit = getAssignedCuratorUnit (allCurators select 0); _curatorUnit joinAs [createGroup civilian, 0];

Additional Information

See also:
getAssignedCuratorLogic

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