Hi Guys.
Im work on the help panel.
I tried to make the opening of the panel to be transparent. But the "R" Nothing happens when I press the button. Also its not give error and warning on debugscript.
Im how to make the transparent opening?
function open()
if (guiGetVisible (helpMenu) == true) then
if guiGetAlpha(helpMenu) >= 65 then
setTimer(function()
if not guiGetAlpha(helpMenu) <= 0 then
guiSetAlpha(helpMenu, (guiGetAlpha(helpMenu)-5))
end
end,50,0)
guiSetVisible(helpMenu, false)
showCursor(false)
end
elseif (guiGetVisible (helpMenu) == false) then
if guiGetAlpha(helpMenu) <= 0 then
setTimer(function()
if not guiGetAlpha(helpMenu) >= 65 then
guiSetAlpha(helpMenu, (guiGetAlpha(helpMenu)+5))
end
end,50,0)
guiSetVisible(helpMenu, true)
showCursor(true)
end
end
end
bindKey ("R", "down", open)