getAssignedCuratorLogic: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - ": *<code>" to ": <code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 16: | Line 16: | ||
|r1= [[Object]] | |r1= [[Object]] | ||
|x1= <code>( | |x1= <code>(getAssignedCuratorLogic [[player]]) [[removeCuratorEditableObjects]] [<nowiki/>[[allDead]], [[true]]];</code> | ||
|seealso= [[allCurators]] [[getAssignedCuratorUnit]] | |seealso= [[allCurators]] [[getAssignedCuratorUnit]] | ||
Line 28: | Line 28: | ||
<dd class="note"> | <dd class="note"> | ||
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: | 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: | ||
<code> | <code>waitUntil {![[isNull]] ([[getAssignedCuratorLogic]] unit)};</code> | ||
</dd> | </dd> | ||
</dl> | </dl> |
Revision as of 11:02, 12 May 2022
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:
- allCurators getAssignedCuratorUnit
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)};