getAssignedCuratorLogic

From Bohemia Interactive Community
Revision as of 09:50, 17 September 2020 by R3vo (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns curator logic to which given player has access.
Groups:
Curator

Syntax

Syntax:
getAssignedCuratorLogic player
Parameters:
player: Object
Return Value:
Object

Examples

Example 1:
(getAssignedCuratorLogic player) removeCuratorEditableObjects [allDead,true];

Additional Information

See also:
allCuratorsgetAssignedCuratorUnit

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