deleteAt: Difference between revisions
Jump to navigation
Jump to search
Skaronator (talk | contribs) No edit summary |
No edit summary |
||
Line 39: | Line 39: | ||
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | [[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
<code>_array deleteAt 0</code> | |||
is almost 60x faster than | |||
<code>_array = _array - [_array select 0]</code> |
Revision as of 23:48, 14 October 2014
Description
- Description:
- Removes array element at the given index and returns removed element (modifies the original array, just like resize or set).
- Groups:
- Uncategorised
Syntax
Examples
Additional Information
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
Notes
Bottom Section
_array deleteAt 0
is almost 60x faster than
_array = _array - [_array select 0]