getAssignedCuratorLogic: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Curator |GROUP1=
|gr1= Curator |GROUP1=
____________________________________________________________________________________________


| Returns curator logic to which given player has access. |DESCRIPTION=
| Returns curator logic to which given player has access. |DESCRIPTION=
____________________________________________________________________________________________


| '''getAssignedCuratorLogic''' player |SYNTAX=
| '''getAssignedCuratorLogic''' player |SYNTAX=
Line 20: Line 17:
|x1= <code>([[getAssignedCuratorLogic]] [[player]]) [[removeCuratorEditableObjects]] [<nowiki/>[[allDead]],[[true]]];</code>|EXAMPLE1=  
|x1= <code>([[getAssignedCuratorLogic]] [[player]]) [[removeCuratorEditableObjects]] [<nowiki/>[[allDead]],[[true]]];</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[allCurators]], [[getAssignedCuratorUnit]] |SEEALSO=  
| [[allCurators]], [[getAssignedCuratorUnit]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 01:12, 17 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

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