View Single Post
  #12  
Old 12-11-2010, 01:20 AM
DeCeaseD DeCeaseD is offline
Registered User
Join Date: Jan 2008
Posts: 247
DeCeaseD will become famous soon enough
Okay so Drew, what you showed me worked, but now I've run into another issue with this. The function only returns when the array is an exact match to the flag in the DB. (Which it should) But is there a way I can make it so that it will return when the array is in any order? Eg:

this.array = {2, 3, 1}; //In Weapon
this.return_array = {1, 2, 3}; //In NPC

When I send this.array to the NPC, I would still like to return this.return_array, even though the numbers are off in sequence, they are still the same numbers.
Reply With Quote