getAssignedCuratorLogic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.16|= Game version _________________...")
 
m (Text replacement - ">Posted on August ([0-9]{2}), ([0-9]{4})" to ">Posted on $2-08-$1")
 
(45 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.16


|1.16|= Game version
|arg= global
____________________________________________________________________________________________


| Returns curator logic to which has given player access. |= Description
|gr1= Curator
____________________________________________________________________________________________


| '''getAssignedCuratorLogic''' player |= Syntax
|descr= Returns curator logic to which given player has access.


|p1= player: [[Object]] |= PARAMETER1 
|s1= [[getAssignedCuratorLogic]] player


| [[Object]] |= RETURNVALUE
|p1= player: [[Object]]


|x1= <code></code>|= EXAMPLE1
|r1= [[Object]]


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


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


|  |= MPBEHAVIOUR
<dl class="command_description">
____________________________________________________________________________________________
}}


<h3 style='display:none'>Notes</h3>
<dt></dt>
<dl class='command_description'>
<dd class="notedate">Posted on 2014-08-17 - 17:04 (UTC)</dd>
<!-- Note Section BEGIN -->
<dt class="note">[[User:SilentSpike|SilentSpike]]</dt>
<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:
<sqf>waitUntil {!isNull (getAssignedCuratorLogic unit)};</sqf>
</dd>


<!-- Note Section END -->
</dl>
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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