icon/button bar(SOLVED)

Started by proskiier, Fri 30/11/2007 03:36:57

Previous topic - Next topic

proskiier

I have the basic kings quest interface in my game, but the grey bar here to get the (icon bar) to show up when you mouse over it is too tall... so I changed it from 13 to a lower number and that worked well(with showing more of my maps) but when you scroll it still reads as 13 tall (as to when to switch over to the icon bar)

So basically my question is how do I switch it from 13 rollover to show up to a lesser number??

Thanks in advance :)


Candall

You need to change the Popup Ypos value, I think.


Ashen

To expand a little: The 'grey bar' (gStatusline) is nothing to do with when gIconbar appears. To change that, or any 'Mouse Y-pos' type GUI, you need to change the 'Popup YPos' value of that GUI. This is in the manual, under "Editing the GUIs":
Quote
The "Mouse YPos" option means that the GUI only appears when the mouse vertical position moves above the y-coordinate set with the "Popup-YP" option.

In a defaul AGS game, it just so happens that the height of gStatusbar is the same as gIconbars Popup YPos - but the two aren't really related.
Also, if you don't want gStatusbar interfering with you map screen, why not turn it off when you enter that room, and on again when you leave? (GUI.Visible can also stop Y-Pos GUIs, like gIconbar from appearing in that room, too.)
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk