Difference between revisions of "cmf 3den fnc unitSpawner"

From cluster wiki
Jump to navigation Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=1.56 |game2=cmf3 |version2=2.1.0 |descr=This function spawns playable units following the Cluster Community ORBAT. |exec=Call |cmp=3...")
 
 
(One intermediate revision by the same user not shown)
Line 21: Line 21:
|x1= {{code|lang=scilab|["SQUAD"] call cmf_3den_fnc_unitSpawner;}}
|x1= {{code|lang=scilab|["SQUAD"] call cmf_3den_fnc_unitSpawner;}}


|event1= {{!}} LOCAL {{!}}{{!}} cmf_3den_onUnitSpawned {{!}}{{!}} [group] {{!}}{{!}} Is raised when a unit is spawned using this function
|seealso= [[cmf_3den_fnc_addRadioRack]] [[cmf_3den_fnc_iconViewer]] [[cmf_3den_fnc_init]] [[cmf_3den_fnc_unitConstructor]]
|event2= {{!}} LOCAL {{!}}{{!}} cmf_3den_onGroupSpawned {{!}}{{!}} [group] {{!}}{{!}} Is raised when a group is spawned using this function
 
|event1= {{!}} LOCAL {{!}}{{!}} cmf_3den_onUnitSpawned {{!}}{{!}} [unit] {{!}}{{!}} Is raised when a unit is spawned using this function
|event2= {{!}} LOCAL {{!}}{{!}} cmf_3den_onUnitGroupSpawned {{!}}{{!}} [group] {{!}}{{!}} Is raised when a group is spawned using this function
|event3= {{!}} LOCAL {{!}}{{!}} cmf_3den_onUnitTemplateSpawned {{!}}{{!}} [units, groups] {{!}}{{!}} Is raised when a template has been spawned using this function
|event3= {{!}} LOCAL {{!}}{{!}} cmf_3den_onUnitTemplateSpawned {{!}}{{!}} [units, groups] {{!}}{{!}} Is raised when a template has been spawned using this function
}}
}}

Latest revision as of 21:30, 17 December 2022


Hover & click on the images for description
Description
Description:
This function spawns playable units following the Cluster Community ORBAT.
Execution:
Call
Groups:
CMF3: 3den
Syntax
Syntax:
[unitIdentifier] call cmf_3den_fnc_unitSpawner
Parameters:
unitIdentifier: String - The identifier for the team to spawn, must be one of the values in cmf_3den_fnc_unitConstructor
Return Value:
None
Examples
Example 1:
["SQUAD"] call cmf_3den_fnc_unitSpawner;
Additional Information
See also:
cmf_3den_fnc_addRadioRack cmf_3den_fnc_iconViewer cmf_3den_fnc_init cmf_3den_fnc_unitConstructor
Internal Variables
No internal variables
Events
Locality Name Variables Description
LOCAL cmf_3den_onUnitSpawned [unit] Is raised when a unit is spawned using this function
LOCAL cmf_3den_onUnitGroupSpawned [group] Is raised when a group is spawned using this function
LOCAL cmf_3den_onUnitTemplateSpawned [units, groups] Is raised when a template has been spawned using this function
Notes