Closed euphemism closed 11 years ago
For the IsActionBarOpen, there is a chance that one end of it gets block by option menu: http://villavu.com/forum/showpost.php?p=1130143&postcount=16
Maybe change the Boolean modifier 'and' to 'or'? But that may result in false positive so CountColor for more pixels instead?
For ToggleActionBar, should it also return true, if it is successfully toggled off? I didn't model mine after ToggleXPBarEx though, quite surprise that we ended up something so similar :p https://github.com/SRL/SRL-5/pull/113/files
There is not a single place you can check that can't be covered up by a option box. It checks for two red pixels, one in each of the small rectangles at either end of the bar. At any rate, I can change the condition to 'or'. Yes, I have it returning true if it successfully toggles the bar, so on or off.
Yeah that's what i was saying, but there could be a minute chance that an object on the main screen has the same color at the same coordinate, unlikely though.
You are right about the result, guess i was doing an unnecessary double negative :(
Merged manually.
Added 'IsActionBarOpen' and 'ToggleActionBar' to 'gametab.simba'