BIS fnc ORBATSetGroupParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
||
Line 21: | Line 21: | ||
|p9= textSizeCoef: [[Number]] - Texture size coeficient. 1 is the default size | |p9= textSizeCoef: [[Number]] - Texture size coeficient. 1 is the default size | ||
|p10= insignia: [[String]] - Insignia displayed in tooltip and in the ORBAT viewer background | |p10= insignia: [[String]] - Insignia displayed in tooltip and in the ORBAT viewer background | ||
|p11= textColour: [[Array]] - Texture color in format RGBA | |p11= textColour: [[Array]] - Texture color in format RGBA | ||
|p12= commName: [[String]] - Commander name. Can be the name directly or a class from CfgWorlds > GenericNames | |p12= commName: [[String]] - Commander name. Can be the name directly or a class from CfgWorlds > GenericNames | ||
|p13= commRank: [[String]] - Commander rank | |p13= commRank: [[String]] - Commander rank | ||
|p14= description: [[String]] - Description shown in tooltip | |p14= description: [[String]] - Description shown in tooltip | ||
|p15= assets: [[Array]] of [[Array|arrays]] in format: | |p15= assets: [[Array]] of [[Array|arrays]] in format: | ||
*vehicleClass: [[String]] - Vehicle class name | *vehicleClass: [[String]] - Vehicle class name | ||
*count: [[Number]] - Quantity of vehicles | *count: [[Number]] - Quantity of vehicles | ||
| [[Boolean]] | | [[Boolean]] |
Revision as of 18:15, 29 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Strategic
Syntax
- Syntax:
- Syntax needed
- Parameters:
- target: Config - Path to class in CfgORBAT
- IDType: Number or String - IDType (e.g., 1 to result in "1st", or a specific string)
- size: String - Size as a class from CfgChainOfCommand > Sizes (e.g., "Platoon")
- type: String - Type as a class from CfgChainOfCommand > Types (e.g., "Infantry")
- side: String - Side as a class from CfgChainOfCommand > Sides (e.g., "West")
- name: String - Name. Passed arguments are: %1 - ID, %2 - type, %3 - size)
- shortName: String - Short name. Passed arguments are: %1 - ID, %2 - type, %3 - size)
- texture: String - Texture. Can be link to a file or a class from CfgMarkers
- textSizeCoef: Number - Texture size coeficient. 1 is the default size
- insignia: String - Insignia displayed in tooltip and in the ORBAT viewer background
- textColour: Array - Texture color in format RGBA
- commName: String - Commander name. Can be the name directly or a class from CfgWorlds > GenericNames
- commRank: String - Commander rank
- description: String - Description shown in tooltip
- assets: Array of arrays in format:
- Return Value:
- Return value needed
Examples
- Example 1:
[ configFile >> "CfgORBAT" >> "BIS" >> "B_1_A_1", 1, "Platoon", "Infantry", "West", "Name: %1 %2 %3", "Short Name: %1 %2 %3", "b_air", 3, "\A3\Air_F_EPB\Heli_Light_03\data\UI\Heli_Light_03_CA.paa", [0,0,0,1], "Commander Name", "General", "Description", [ ["B_MRAP_01_F",5] ] ] call BIS_fnc_ORBATSetGroupParams;
Additional Information
- See also:
- See also needed
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