Difference between revisions of "cmf common fnc setCallsign"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
|x1= {{code|lang=scilab|[_myGroup, "A1", "ARMOR", "PLT"] call cmf_common_fnc_setCallsign}} | |x1= {{code|lang=scilab|[_myGroup, "A1", "ARMOR", "PLT"] call cmf_common_fnc_setCallsign}} | ||
|seealso= [[cmf_common_fnc_getConfigParam]] [[cmf_common_fnc_isRole]] [[cmf_common_fnc_setRole]] | |||
|var1= {{!}} GLOBAL {{!}}{{!}} groupnamespace {{!}}{{!}} cmf_common_sqd_callsign {{!}}{{!}} a hashmap that can be used to overwrite EMF config settings or to define new ones in missionTime | |var1= {{!}} GLOBAL {{!}}{{!}} groupnamespace {{!}}{{!}} cmf_common_sqd_callsign {{!}}{{!}} a hashmap that can be used to overwrite EMF config settings or to define new ones in missionTime | ||
Line 31: | Line 33: | ||
|var3= {{!}} GLOBAL {{!}}{{!}} groupnamespace {{!}}{{!}} cmf_common_sqd_size {{!}}{{!}} a string variable containing the attached group's group type (INF, MECH, ARMOR etc.) | |var3= {{!}} GLOBAL {{!}}{{!}} groupnamespace {{!}}{{!}} cmf_common_sqd_size {{!}}{{!}} a string variable containing the attached group's group type (INF, MECH, ARMOR etc.) | ||
|var4= {{!}} GLOBAL {{!}}{{!}} unitNamespace {{!}}{{!}} cmf_common_group {{!}}{{!}} a string variable containing the attached group's group size (SQD, PLT, COY etc.) | |var4= {{!}} GLOBAL {{!}}{{!}} unitNamespace {{!}}{{!}} cmf_common_group {{!}}{{!}} a string variable containing the attached group's group size (SQD, PLT, COY etc.) | ||
|event1= {{!}} UNITLOCAL {{!}}{{!}} cmf_common_onGroupCallsignChanged {{!}}{{!}} [group, callsign, type, level] {{!}}{{!}} Is raised when a group's callsign is set | |||
}} | }} |
Latest revision as of 21:35, 17 December 2022
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
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
Locality | Name | Variables | Description |
---|---|---|---|
UNITLOCAL | cmf_common_onGroupCallsignChanged | [group, callsign, type, level] | Is raised when a group's callsign is set |
Notes