Where/What are the commands for enabling/disabling GUI buttons?

Started by Snake, Fri 07/05/2004 02:55:23

Previous topic - Next topic

Snake

I thought there were commands for that? For some reason I can't seem to find them...I could have sworn there were. There should be if there aren't :) ;)

I'm using ver2.56.413

Does the newer version have something like that? All I want to do is either turn particular buttons on/off or disable/enable them. I really don't want to use 9 global ints to check whether they're active or not, but if I've got to it's no problem. Just thought it would be easier to just shut the damned things off and on again ...with...ease? :)

Thanks in advance,


--Snake
Grim: "You're making me want to quit smoking... stop it!;)"
miguel: "I second Grim, stop this nonsense! I love my cigarettes!"

TerranRich

Hmm, I can't seem to find anything on this in the help file. Maybe you will have to use global-ints in order to detect it in the click script. Suggest this to CJ!
Status: Trying to come up with some ideas...

strazer

Since v2.61 Beta 4:

QuoteAdded SetGUIObjectEnabled script function to explicitly disable a GUI button.

TerranRich

Status: Trying to come up with some ideas...


TerranRich

Whoops. I have an old version. Serves me right. /me slaps himself.
Status: Trying to come up with some ideas...

Snake

Sweet, thanks strazer :D

Damn my 2.56ness...

//Snake goes to download new version...

Yeah, I scoured that damned manual for the longest time looking for such a command, thinking, "WTF?! I KNOW there must be one! How the hell can you NOT have SetGUIButtonOff/On(); or something of the sort by now?!?!"

:)
Thanks guys,


--Snake
Grim: "You're making me want to quit smoking... stop it!;)"
miguel: "I second Grim, stop this nonsense! I love my cigarettes!"

SMF spam blocked by CleanTalk