Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - vardex

#1
Adventure Related Talk & Chat / AGS Fonts?
Fri 07/01/2011 22:11:28
Does anybody know of a site on which I can download WFN fonts for use with AGS?
#2
I'm having a bit of trouble with dialog. It seemed to run fine, the only problem being that I couldn't get it to quit. I tried reformatting my script, as per the example given in the engine's help file, but something appears the matter. My script:
Code: ags
function dialog_request(int dr); {
          dDialog1.Start()
          if (dr==5) {
          cCoop.AddInventory(iBridgeKey);
          StopDialog();   
          }  



The error I am receiving:
Code: ags
GlobalScript.asc(523): Error (line 523): Nested functions not supported (you may have forgotten a closing brace)


Basically, what I'm trying to do is run the dialog, and when the stereotypical "Goodbye" is selected, give the player an item and exit the dialog GUI.
SMF spam blocked by CleanTalk