ScriptUO

Official ScriptUO EasyUO Scripts => Script Debug => Topic started by: Khameleon on May 02, 2012, 07:28:20 PM

Title: Generator Control Script
Post by: Khameleon on May 02, 2012, 07:28:20 PM
ok... I'm not trying to make this Automated, but just a make it simpler to complete the puzzle....
I have a little bit of it coded.... maybe one of the Elite scripters can help me with a little problem..
I could code this with 2k+ lines but I thought maybe you guys could help me make it a bit simpler with a Sub instead of  64 different subs....

what I would like to be able to do is when I push A button a scan journal with active if I get hit by the Nexus I want that button to turn Red, if nothing happens I would like the button to Turn Green.
is there an easy way to just change the buttons color? or figure out the position of the button so I can delete it and re-create it the right color?

here's a picture of one of the grids.
Title: Re: Generator Control Script
Post by: Endless Night on July 17, 2012, 11:38:30 AM
check out my code below... carnt rember how i done it but i did the very thing you were asking about in a few lines of code.

http://www.scriptuo.com/index.php?topic=7570.0
or elite
http://www.scriptuo.com/index.php?topic=7560.0