gui - always at the top of the screen? salvede

Started by dikla, Fri 23/07/2004 20:33:48

Previous topic - Next topic

dikla

With some help i managed to set a speed slider. the script is ok. but i have a problem.Ã,  the slider appears at the top of the screen and cover the icon bar.
what i really want is a possiblity to draw my own image of slider, put it as a background and in hotspot call the gui, but its keep coming at the top screen and i would like to know if there is a way i can put it exectly in the spot background that i want.
i saw in MI's games that you can choose speed or volume in a special room just for this purpuse, so i guess it can be done. but how. and pls be specific because i have little trouble of shourtcuts.
tkx dikla


Mr Jake

its in the GUI settings under 'GUI x' and GUI y'

dikla

i dont know what exectly you mean but if you mean horizontal or vertical the answer is horizontal. to tell you the truth i just follow script. by the way i dont know the command that after the user will set the speed it will disapear becuse it stuck the game because of the pop up model. can you be nice and show me what i should do and where to put it?
txs
dikla

Mr Jake

to change the location of the GUI you need to set the GUI x and GUI y in the GUI settings.

Radiant

Or, you use the SetGUIPosition() command in your interface_click function.

SMF spam blocked by CleanTalk