Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: MUX on December 12, 2014, 10:01:18 AM

Title: Multiple ArrayMaker Check
Post by: MUX on December 12, 2014, 10:01:18 AM
bit stuck on this simple logic - What we be the best way to approach checking if X objects are all in an ArrayMaker List? in my case i have an array of 120 'possible' objects, that move used objects to a 'Used' array. i need to check if a certain (dynamic not hardcoded) 6 objects are all in the 'Used' array to define an area as 'ready'.
Title: Re: Multiple ArrayMaker Check
Post by: mdotstrange on December 12, 2014, 09:45:50 PM
Might be easier to use a hash table for your used items and then use the Hash Table Get action to check for the items by key- that action has a "found" + "not found" event which will be helpful
Title: Re: Multiple ArrayMaker Check
Post by: MUX on December 13, 2014, 11:43:11 PM
Might be easier to use a hash table for your used items and then use the Hash Table Get action to check for the items by key- that action has a "found" + "not found" event which will be helpful

thanks i will give this technique a try & report back