Difference between revisions of "cmf common fnc setCallsign"

From cluster wiki
Jump to navigation Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=Sets squad callsign and optionally type and level. |exec=Call |cmp=common |s1=[Group, Call...")
 
Line 7: Line 7:
|version2=2.1.0
|version2=2.1.0


|descr=Sets squad callsign and optionally type and level.  
|descr=Sets squad callsign and optionally the type and ORBAT size.


|exec=Call
|exec=Call

Revision as of 13:15, 17 December 2022


Hover & click on the images for description
Description
Description:
Sets squad callsign and optionally the type and ORBAT size.
Execution:
Call
Groups:
CMF3: common
Syntax
Syntax:
[Group, Callsign, Type, Level] call cmf_common_fnc_setCallsign
Parameters:
Group: Group
Callsign: String
Type: String - (Optional, default "INF")
Level: String - (Optional, default "FT")
Return Value:
None
Examples
Example 1:
[_myGroup, "A1", "ARMOR", "PLT"] call cmf_common_fnc_setCallsign
Additional Information
See also:
See also needed
Internal Variables
Locality Namespace Name Description
GLOBAL groupnamespace cmf_common_sqd_callsign a hashmap that can be used to overwrite EMF config settings or to define new ones in missionTime
GLOBAL groupnamespace cmf_common_sqd_type a string variable containing the attached group's name (ASL, A1, A2 etc.)
GLOBAL groupnamespace cmf_common_sqd_size a string variable containing the attached group's group type (INF, MECH, ARMOR etc.)
GLOBAL unitNamespace cmf_common_group a string variable containing the attached group's group size (SQD, PLT, COY etc.)
Events
No events
Notes