72juju Posted October 25, 2016 Report Posted October 25, 2016 (edited) console.log(inventory); var pool = inventory.filter(function (item){ if (item.name == 'Munitions Mann Co.'), }; }); // Filter out the series var re = new RegExp('N°' + series, ''); // ex: #82 pool = pool.filter(function (item) { return item.name.match(re); }); i've done this i'm not rlly sure it works I want to filter Munition crates. Edited October 25, 2016 by 72juju Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.