set
From Bohemia Interactive Community
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint: Resistance
- Version:
- 1.75
Description
- Description:
- Format of element is [index, value]. Changes an element of given array. If element does not exist, resize index+1 is called to create it.
Syntax
- Syntax:
- array set [index, value]
- Parameters:
- array: Array
- [index, value]: Array
- index: Number
- value: Anything
- [index, value]: Array
- Return Value:
- Nothing
Examples
- Example 1:
_arrayOne set [0, "Hello"]
Additional Information
- Multiplayer:
- -
Notes
Notes