BIS_fnc_arrayPushStack

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
This function is similar to the array push function; however, it pushes the contents of an array onto the stack array.
Arma 3 logo black.png
Use append or pushBack instead

Syntax

Syntax:
[array1, array2] call BIS_fnc_arrayPushStack
Parameters:
array1: Array
array2: Array
Return Value:
Array - the modified array1

Examples

Example 1:
_array = [0,1,2]; [_array, [3,4,5]] call BIS_fnc_arrayPushStack; // _array is [0,1,2,3,4,5]
Example 2:
_array = [[5,6,7], [8,[9],10]] call BIS_fnc_arrayPushStack; // _array is [5,6,7,8,[9],10]

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_arrayPushpushBackappend

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section