Problem with StrFormat

Started by Drowps, Fri 25/08/2006 21:32:35

Previous topic - Next topic

Drowps

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?

monkey0506

#1
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.

SMF spam blocked by CleanTalk