getAssignedCuratorUnit

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

Description

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

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
Posted on 2014-08-17 - 17:06 (UTC)
SilentSpike
This command will return objNull if used immediately after the curator unit is assigned to the logic in question (this includes at mission time 0). To avoid problems use the following beforehand:
waitUntil {!isNull (getAssignedCuratorUnit logic)};