Difference between revisions of "cmf 3den fnc unitSpawner"

From cluster wiki
Jump to navigation Jump to search
 
Line 23: Line 23:
|seealso= [[cmf_3den_fnc_addRadioRack]] [[cmf_3den_fnc_iconViewer]] [[cmf_3den_fnc_init]] [[cmf_3den_fnc_unitConstructor]]
|seealso= [[cmf_3den_fnc_addRadioRack]] [[cmf_3den_fnc_iconViewer]] [[cmf_3den_fnc_init]] [[cmf_3den_fnc_unitConstructor]]


|event1= {{!}} LOCAL {{!}}{{!}} cmf_3den_onUnitSpawned {{!}}{{!}} [group] {{!}}{{!}} Is raised when a unit 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_onGroupSpawned {{!}}{{!}} [group] {{!}}{{!}} Is raised when a group 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