Posted By: exile
How to return the number of an element? - 07/11/12 23:54
I am posting this here since I figure this is a simple enough request. Basically what I am trying to do is get the number of a panel element to be used as a pointer. I KNOW this is possible since the engine has no problem retrieving information using PANEL->element type->element number, I just dont know how to do it. what I am trying to achieve is when the clicks a panel element it would set a variable to its current ID number. I have a list of servers that get retrieved (which are created at runtime) and their information is stored in an internal array. I am attempting to access the information in that array via button number (ex. return = array[button number]