From Bohemia Interactive Community
|
|
(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