BIS fnc consolidateArray: 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 - " " to " ") |
||
Line 22: | Line 22: | ||
}} | }} | ||
[[Category:Functions|{{uc:consolidateArray}}]] | [[Category:Functions|{{uc:consolidateArray}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:consolidateArray}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:consolidateArray}}]] |
Revision as of 21:52, 31 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Arrays
Syntax
- Syntax:
- Syntax needed
- Parameters:
- array: Array - array of anything
- Return Value:
- Return value needed
Examples
- Example 1:
["apple","apple","pear","pear","apple"] call BIS_fnc_consolidateArray; // Return: [["apple",3],["pear",2]]
- Example 2:
["apple","apple",1,1,nil,nil] call BIS_fnc_consolidateArray; // Return: [["apple",2],[1,2],[any,2]]
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