hello mates,
a quick question, i remember that you used to be able to do it like this:
quest NAME begin
state start begin
when. ...
mainmenu()
function mainmenu()
locale headmenu == select("Page 1","Page 2","Page 3", "Next Page")
if headmenu == 1 then
page1()
elseif headmenu == 2 then
page2()
elseif headmenu == 3 then
page3()
elseif headmenu == 4 then
nextmenu()
end
end
function page1()
locale page1 == select ("Test","Back", "Cancel")
if page1 == 1 then
ansdfasdfnoapsdfpoasfd
elseif page1 == 2 then
mainmenu()
elseif page1 == 3 then
return
end
end
function page2()
locale page2 == select ("Test","Back", "Cancel")
if page2 == 1 then
ansdfasdfnoapsdfpoasfd
elseif page2 == 2 then
mainmenu() ....
Like to make some functions for each pages, to have a "Back"-Button, but it doesnt work anymore?