set: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(add. ArmA2 classification) |
||
Line 38: | Line 38: | ||
[[Category:Scripting Commands OFP 1.96|SET]] | [[Category:Scripting Commands OFP 1.96|SET]] | ||
[[Category:Scripting Commands ArmA|SET]] | [[Category:Scripting Commands ArmA|SET]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] |
Revision as of 17:18, 3 June 2009
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.
- Groups:
- Uncategorised
Syntax
- Syntax:
- array set [index, value]
- Parameters:
- array: Array
- [index, value]: Array
- index: Number
- value: Anything
- Return Value:
- Nothing
Examples
- Example 1:
_arrayOne set [0, "Hello"]
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