getAssignedCuratorUnit: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - " {{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}} " to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 18: | Line 18: | ||
_curatorUnit [[joinAs]] [<nowiki/>[[createGroup]] [[civilian]], 0];</code> | _curatorUnit [[joinAs]] [<nowiki/>[[createGroup]] [[civilian]], 0];</code> | ||
| [[getAssignedCuratorLogic]] | |seealso= [[getAssignedCuratorLogic]] | ||
}} | }} | ||
Revision as of 23:43, 16 February 2021
Description
- Description:
- Description needed
- Groups:
- Curator
Syntax
- Syntax:
- Syntax needed
- Parameters:
- curatorObj: Object - Curator module.
- Return Value:
- Return value needed
Examples
- Example 1:
_curatorUnit = getAssignedCuratorUnit (allCurators select 0); _curatorUnit joinAs [createGroup civilian, 0];
Additional Information
- See also:
- getAssignedCuratorLogic
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 August 17, 2014 - 17:06 (UTC)
- SilentSpike
-
This command will return objNull if used immediately after the curator unit is assigned to the logic in question (this includes at mission time 0). To avoid problems use the following beforehand:
waitUntil {!isNull (getAssignedCuratorUnit logic)};