ACE3/addons/common/functions/fnc_uniqueElements.sqf
2015-09-20 20:25:25 +02:00

18 lines
285 B
Plaintext

/*
* Author: Glowbal
* Make a copy of an array with only the unique elements.
*
* Arguments:
* 0: array <ARRAY>
*
* Return Value:
* Copy of original array <ARRAY>
*
* Public: Yes
*/
#include "script_component.hpp"
params ["_array"];
_array arrayIntersect _array // return