GUI appear when mouse is at top of screen, not working.

Started by Seventeen Uncles, Wed 15/10/2014 12:05:50

Previous topic - Next topic

Seventeen Uncles

making a simple GUI from scratch, inventory bar appear when mouse is at the top of the screen, but it doesnt seem to work.

when I set it to 'always on' or 'normal, initially on' it displays perfectly, and the inventory items display correctly, but setting it to 'When mouse moves to top of screen' doesnt seem to work (at all.)

is there anything else I need to put in the global script for this to work correctly?

many thanks


Crimson Wizard

#1
Did you set up "PopupYPos" properly? It is Y coordinate at which the mouse will trigger GUI.
"0" - does not popup;
"1" - the very top of the screen;
try to find coordinate that is convenient for player (so that it won't prevent them to click on room hotspots).

Seventeen Uncles

Quote from: Crimson Wizard on Wed 15/10/2014 12:23:41
Did you set up "PopupYPos" properly? It is Y coordinate at which the mouse will trigger GUI.
"0" - does not popup;
"1" - the very top of the screen;
try to find coordinate that is convenient for player (so that it won't prevent them to click on room hotspots).

worked a treat, i was confusing the popupYpos with the actual position of the bar

thanks very much for your help

SMF spam blocked by CleanTalk