Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Drowps on Fri 25/08/2006 21:32:35

Title: Problem with StrFormat
Post by: Drowps on Fri 25/08/2006 21:32:35
I'm making a RPG with AGS, and I'm using this tutorial:
http://www.geocities.com/akk13us/rpg-tuto.htm
My problem is on the StrFormat part. I make what it says there and always gives me error, someone can help me?
Title: Re: Problem with StrFormat
Post by: monkey0506 on Fri 25/08/2006 21:37:47
Do you have "Enforce new-style Strings" checked? Because if you do, you would need to convert all the strings and their respective functions to Strings. However, for a novice programmer* it would probably be easier just to uncheck the check box.

*I'm just assuming you're a novice because this is your first post (BTW, welcome to the forums), and you're asking about the error.

[EDIT:]

Also, I see that all the code is old-style coding, so you'll need to make sure that "Enforce object-based scripting" is unchecked. And, in case you don't know what I'm talking about, in AGS they're under "Script" on the "General Settings" pane.