Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: SSH on Tue 02/09/2003 12:34:34

Title: Suggestion: better error message && minor editor bug
Post by: SSH on Tue 02/09/2003 12:34:34
When you get your import definition wrong in the script header (i.e. forget the parameters of the function) the error messages you get can be confusing (as they were for subspark). Is there any chance of a messgae like

Error: script_header import function does not match function declaration.

Oh, and when it pops up the editor to fix a script header syntax problem, it opens the wrong script (ie not the script header). Try removing a semicolon from the script header and see what happens when you Save Game. (v255)
Title: Re:Suggestion: better error message && minor editor bug
Post by: subspark on Tue 02/09/2003 13:02:56
Quote: Try removing a semicolon from the script header and see what happens when you Save Game. (v255)

Oh I'll say. Gave me hell.
Title: Re:Suggestion: better error message && minor editor bug
Post by: Ishmael on Tue 02/09/2003 13:03:43
I noticed the wrong script thing also... I just got used to manually opening the header from the menu...
Title: Re:Suggestion: better error message && minor editor bug
Post by: Pumaman on Tue 02/09/2003 19:18:00
Good points, I'll add them to my list.