410541059 0 Posted May 3, 2018 for example i have _array = [1,1,2,3,3,4] i want _array = [1,2,3,4] have any BIS function or commands can do it?thx Share this post Link to post Share on other sites
Muzzleflash 111 Posted May 3, 2018 _array = _array arrayIntersect _array; 1 Share this post Link to post Share on other sites
beno_83au 1362 Posted May 3, 2018 What you could do when adding to an array is use pushBackUnique. 1 Share this post Link to post Share on other sites
410541059 0 Posted May 3, 2018 10 minutes ago, Muzzleflash said: _array = _array arrayIntersect _array; thanks dude Share this post Link to post Share on other sites
410541059 0 Posted May 3, 2018 9 minutes ago, beno_83au said: What you could do when adding to an array is use pushBackUnique. thanks,i get it Share this post Link to post Share on other sites