unassignCurator

From Bohemia Interactive Community
Revision as of 19:36, 9 June 2014 by SilentSpike (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Unassign curator (will destroy both sides of connection).
Multiplayer:
Can be executed only on server
Groups:
Uncategorised

Syntax

Syntax:
unassignCurator curatorObj
Parameters:
curatorObj: Object - Curator module.
Return Value:
Nothing

Examples

Example 1:
unassignCurator myCurator;

Additional Information

See also:
CuratorassignCurator

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

Posted on June 9, 2014 - 18:36 (UTC)
SilentSpike
Note that curator objects assigned in the editor don't actually get assigned to units until (as far as I can tell) after the mission briefing. So if you want to unassign one at the start of a mission for some reason (parameter in my case) then use the command only after the assigned unit is no longer a null object. An example: waitUntil {!(isNull (getAssignedCuratorUnit curatorObj))}; unassignCurator curatorObj;