Cloning Frames in a list? in Developer Help
|
|
After a couple hourse scowering the forums I'm posting. Also, I am always open to an easyer execution of my idea as well....
I'm trying to make an object list in a grid(that part I can do), and I also want behind it to display a number associated with that object, I'll call it 'Var1'. I also want two buttons behind it to increase and decrease that number by a number, we'll say 1 for now.
I'm hoping to make a small skin frame that will house an object, an output box that will have the Var1 number outputted to it and two buttons that will have a verb to increase and decrease that 'Var1' number. THen I can clone that skin and associate the appropriate object and change the verbs on the buttons.. Im thinking by just passing variable into it like [IncVar(varoutput as control, /obj as object, amt as num)], then with that object I can change it's Var1 and then output that to the output control.
That way I can add and remove things tothe list and increment or decrement the variable associated with it and once I'm finished I can generate the players skill list from that.
Or make a list from the /obj/skills that exist and then somehow add those buttons and be able to inact with all the things in that list.
My apologies if I wasn't very clear..
|