getAssignedCuratorLogic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - ">Posted on August ([0-9]{2}), ([0-9]{4})" to ">Posted on $2-08-$1")
 
(10 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 1.16
|version1= 1.16
|arg= global


|gr1= Curator
|gr1= Curator
Line 8: Line 10:
|descr= Returns curator logic to which given player has access.
|descr= Returns curator logic to which given player has access.


|s1= [[getAssignedCuratorLogic]] player
|s1= [[getAssignedCuratorLogic]] player


|p1= player: [[Object]]
|p1= player: [[Object]]
Line 14: Line 16:
|r1= [[Object]]
|r1= [[Object]]


|x1= <code>([[getAssignedCuratorLogic]] [[player]]) [[removeCuratorEditableObjects]] [<nowiki/>[[allDead]],[[true]]];</code>
|x1= <sqf>(getAssignedCuratorLogic player) removeCuratorEditableObjects [allDead, true];</sqf>


|seealso= [[allCurators]], [[getAssignedCuratorUnit]]
|seealso= [[allCurators]] [[getAssignedCuratorUnit]]
}}
}}


Line 22: Line 24:


<dt></dt>
<dt></dt>
<dd class="notedate">Posted on August 17, 2014 - 17:04 (UTC)</dd>
<dd class="notedate">Posted on 2014-08-17 - 17:04 (UTC)</dd>
<dt class="note">[[User:SilentSpike|SilentSpike]]</dt>
<dt class="note">[[User:SilentSpike|SilentSpike]]</dt>
<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: <code>[[waitUntil]] {![[isNull]] ([[getAssignedCuratorLogic]] unit)};</code>
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:
<sqf>waitUntil {!isNull (getAssignedCuratorLogic unit)};</sqf>
</dd>
</dd>


</dl>
</dl>

Latest revision as of 22:59, 13 May 2023

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:
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 2014-08-17 - 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)};