Gadgets question
Posted: 11 Jan 2010, 21:31
(I hope I can state my question clearly)
probleam: my current upgrade gadget only allows a unit to have ONE upgrade button... what I want is for one unit to be able to transform into more then just one thing... meaning several upgrade buttons on there menue
question one: would it be easy to acheive this by altering my current gadget to allow for multiple buttons added to a single units menue? ...OR... writeing a second gadget that was VERY simular to the first but took care of the other upgrade options?
question two: providing its easyer to write a second gadget that is simular to the first: Do synced variables HAVE to be diffrent between the two?
question three: providing its easyer to write a second gadget that is simular to the first: How would I check to see if the command variable numbers that I would designate are empty/availible?
example: local CMD_MORPH_STOP = 32210 --original
local CMD_MORPH_STOP = 32310 --random change I picked
but how do I know/check if 32310 is availible as a slot for that command? (providing I am not confused on what thoughs number designations actually mean)
final words: thanks for reading all that. sorry it was so long. I was trying to shortin as much as possible and keep clairity... let me know if its unclear so I can revise
thanks :)
probleam: my current upgrade gadget only allows a unit to have ONE upgrade button... what I want is for one unit to be able to transform into more then just one thing... meaning several upgrade buttons on there menue
question one: would it be easy to acheive this by altering my current gadget to allow for multiple buttons added to a single units menue? ...OR... writeing a second gadget that was VERY simular to the first but took care of the other upgrade options?
question two: providing its easyer to write a second gadget that is simular to the first: Do synced variables HAVE to be diffrent between the two?
question three: providing its easyer to write a second gadget that is simular to the first: How would I check to see if the command variable numbers that I would designate are empty/availible?
example: local CMD_MORPH_STOP = 32210 --original
local CMD_MORPH_STOP = 32310 --random change I picked
but how do I know/check if 32310 is availible as a slot for that command? (providing I am not confused on what thoughs number designations actually mean)
final words: thanks for reading all that. sorry it was so long. I was trying to shortin as much as possible and keep clairity... let me know if its unclear so I can revise
thanks :)