SphereCommunity
Dialog, last page - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Dialog, last page (/Thread-Dialog-last-page)



Dialog, last page - Gil Amarth - 12-12-2012 05:58 AM

There is any form to go to the last page in a dialog?

For example I have a dialog which page 2, 3 or 4, can go to page 10, 11, 12, 14 or 15. Is it possible to add a button to remember from what page the player acceded?.

Now I have a button to go back to page 2, but if I could store the last page, the interface of my gump would be more easy to use.


RE: Dialog, last page - darksun84 - 12-12-2012 06:21 AM

- Added arguments to dialogs, in this form: "DIALOG d_dlg 0 blabla", both <args> and <argv[x]> can be used. <argn> is the page number (second argument).


But i never tried that Big Grin


RE: Dialog, last page - Gil Amarth - 12-12-2012 07:25 AM

It works using <argn> as the first argument!

Thanks.