getAssignedCuratorLogic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {3,}\|" to " |")
m (Text replacement - " {2,}\}\}" to " }}")
Line 18: Line 18:


| [[allCurators]], [[getAssignedCuratorUnit]]
| [[allCurators]], [[getAssignedCuratorUnit]]
}}
}}



Revision as of 23:54, 18 January 2021

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


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