Help me plz, i have moved all menu button downwards by editing it in in main.menu , but when i am starting ET and then trying to click button there is no action happening, but if i only mouse over button and press enter its working.I want that buttons works by clicking on it!
Menu buttons
trAnc3
(trAnc3)
#1
trAnc3
(trAnc3)
#3
Ok , This is how my Buttons located :
// Buttons //
BUTTON( 3, 290, WINDOW_WIDTH-12, 18, "PLAY ONLINE", .3, 14, close main ; /*close backgroundmusic ; open backgroundmusic_server ;*/ uiScript UpdateFilter ; uiScript ServerSortDown 4 ; open playonline )
BUTTON( 3, 310, WINDOW_WIDTH-12, 18, "HOST GAME", .3, 14, close main ; /*close backgroundmusic ; open backgroundmusic_server ;*/ uiScript loadArenas ; uiScript initHostGameFeatures ; open hostgame )
BUTTON( 3, 330, WINDOW_WIDTH-12, 18, "REPLAYS", .3, 14, close main ; open viewreplay )
BUTTON( 3, 350, WINDOW_WIDTH-12, 18, "OPTIONS", .3, 14, close main ; open options )
BUTTON( 3, 370, WINDOW_WIDTH-12, 18, "PROFILE", .3, 14, close main ; open profile )
BUTTON( 3, 390, WINDOW_WIDTH-12, 18, "CREDITS", .3, 14, close main ; open credits_splashdamage )
BUTTON( 6, 410, WINDOW_WIDTH-12, 18, "EXIT GAME", .3, 14, clearFocus ; open quit )
}
When i am trying to click on button , its not working!
molotov
(molotov)
#4
its not enoguh if u only modify the positions of the buttons u need modify the hight of the box too:
#define WINDOW_HEIGHT
example #define WINDOW_HEIGHT 440
This line is in the top of the file
All buttons need to fit into the menu box and the click thing will work.
trAnc3
(trAnc3)
#5
Oooooohh great, thanks a lot , man!but if this box is visible it looks bad cuz the box is too stretched.Can i change position for box?
molotov
(molotov)
#6
position:
#define WINDOW_X 16
#define WINDOW_Y 16
box size
#define WINDOW_WIDTH 170
#define WINDOW_HEIGHT 272