private _arr = [1,2,3]; _arr insert [-2, [4], false]; _arr //[1,2,4,3]
Similar functionality was added to select recently. Cleaner and likely more efficient than (count _arr)-1.
private _arr = [1,2,3]; _arr insert [-2, [4], false]; _arr //[1,2,4,3]
Similar functionality was added to select recently. Cleaner and likely more efficient than (count _arr)-1.