Arma 3 Scripting

getAssignedCuratorUnit

  • Arma 3 v1.16

Command · Markdown · JSON · original wiki page

Description

Returns unit assigned to curator logic.

Syntax

getAssignedCuratorUnit curatorObj

Parameters:

Returns: Object

Examples

Example 1

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

See also

getAssignedCuratorLogic

Community notes

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)};