getAssignedCuratorUnit

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.16
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.16

Description

Description:
Returns unit assigned to curator logic.

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

Multiplayer:
-
See also:
getAssignedCuratorLogic

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Posted on August 17, 2014 - 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)};