unassignCurator: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(34 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


|1.16|= Game version
|serverExec= server
____________________________________________________________________________________________


| Unassign curator (will destroy both sides of connection). |= Description
|gr1= Curator
____________________________________________________________________________________________


| '''unassignCurator''' curatorObj |= Syntax
|descr= Unassign curator (will destroy both sides of connection).


|p1= curatorObj: [[Object]] - Curator module.  |= PARAMETER1
|s1= [[unassignCurator]] curatorObj


| [[Nothing]] |= RETURNVALUE
|p1= curatorObj: [[Object]] - curator module.


|x1= <code>unassignCurator myCurator;</code>|= EXAMPLE1
|r1= [[Nothing]]


____________________________________________________________________________________________
|x1= <sqf>unassignCurator myCurator;</sqf>


| [[Curator]], [[assignCurator]] |= SEEALSO
|seealso= [[Arma 3: Curator]] [[addCuratorAddons]] [[removeAllCuratorAddons]] [[curatorAddons]]
 
| mp= Can be executed only on server |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</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}}}}]]
[[Category:Command Group: Curator|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on June 9, 2014 - 18:36 (UTC)</dd>
<dt class="note">'''[[User:SilentSpike|SilentSpike]]'''</dt>
<dd class="note">
Note that curator objects assigned in the editor don't actually get assigned to units until (as far as I can tell) after the mission briefing. So if you want to unassign one at the start of a mission for some reason (parameter in my case) then use the command only after the assigned unit is no longer a null object. An example:
<code>waitUntil {!([[isNull]] ([[getAssignedCuratorUnit]] curatorObj))};
unassignCurator curatorObj;</code>
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 14:59, 8 November 2023

Hover & click on the images for description

Description

Description:
Unassign curator (will destroy both sides of connection).
Groups:
Curator

Syntax

Syntax:
unassignCurator curatorObj
Parameters:
curatorObj: Object - curator module.
Return Value:
Nothing

Examples

Example 1:
unassignCurator myCurator;

Additional Information

See also:
Arma 3: Curator addCuratorAddons removeAllCuratorAddons curatorAddons

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