guiismiti
29th November 2014, 16:01
Hi,
I created a menu for the airstrike (some have seen it in video).
In this menu, each dot is an element, and when players select it, the menu closes and the airstrike hits that position.
803
The problem with it is that the first and last two columns don't work. Nothing happens when I click it.
Then I tried to set the fullscreen attribute to the menu
fullScreen 1
Problem solved, but now there's another one. When I select an element, the menu no longer closes.
Here's part of my menudef (the rest of the menu is just the elements):
name "airstrike"
rect 0 0 640 480
fullScreen 1
focuscolor AIRSTRIKE_FOCUSED_COLOR
style WINDOW_STYLE_EMPTY
blurWorld 5.0
onEsc
{
close airstrike;
}
I created a menu for the airstrike (some have seen it in video).
In this menu, each dot is an element, and when players select it, the menu closes and the airstrike hits that position.
803
The problem with it is that the first and last two columns don't work. Nothing happens when I click it.
Then I tried to set the fullscreen attribute to the menu
fullScreen 1
Problem solved, but now there's another one. When I select an element, the menu no longer closes.
Here's part of my menudef (the rest of the menu is just the elements):
name "airstrike"
rect 0 0 640 480
fullScreen 1
focuscolor AIRSTRIKE_FOCUSED_COLOR
style WINDOW_STYLE_EMPTY
blurWorld 5.0
onEsc
{
close airstrike;
}