1 Attachment(s)
Fullscreen attribute for menus
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.
Attachment 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
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):
PHP Code:
name "airstrike"
rect 0 0 640 480
fullScreen 1
focuscolor AIRSTRIKE_FOCUSED_COLOR
style WINDOW_STYLE_EMPTY
blurWorld 5.0
onEsc
{
close airstrike;
}