HI all, I'm working on some code, and part of my project involves menus that I need to self-create based on the values of variables in an array. I think I've got a relatively solid idea of how I want this to function, but I'm looking for some advice from the experts. The basic concept is: I have an array of objects, each of which contains a status and reference variable. I want to build a menu that will loop through the array, and only include those items that have their status variable set to a specific value. I also need the menu display to include the value of the reference variable. I've considered a few different ways of doing this, and the one that's standing out as best would be to look through the array of objects, and then set up an array of ints that contain only the reference numbers for the needed objects. I would then be able to use my array of ints in the names of items on the menu.
In the final product, this will (hopefully) look somewhat like the target menus 
from trek2000 and final conflict, where only the ships in range are displayed.
Any hints/tips/thoughts would be greatly appreciated.

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to