Possibly a total noob question… so apologies in advance!
I have a Structure to hold my NPCs parameters (long list of variables) - works fine. (called S_NPC)
I then store all these Structures in an array - works fine. (an Array of S_NPC)
Problem I am having is I need to retrieve the Structure (S_NPC) from the array using one parameter only (call it a GUID)… FIND always returns -1, so I am assuming that it is trying to match on every value/parameter, not just the one I pass in.
SO - do I need to loop over every item in the array to find the value or am I missing something simple?