Module Bug? Zoom 1.02

Started by celticafro, Tue 05/08/2008 22:15:08

Previous topic - Next topic

celticafro

I just downloaded Zoom 1.02 and started trying to use it in our game. We're building it in AGS 3.0.1.35. I don't know enough about scripting to even try to correct the issue, and I couldn't find mention of this error in any topics in the forum.

Anyway, the error occurs whether I'm calling on the function in a room or not, I get an error when I try to run the game. The error is:

Error (line 53): Undefined token 'RawDrawImageResized' |  Zoom.asc(53)

This doesn't make a whole lot of sense. If I understand, a token is basically a placeholder for a value or a string. But RawDrawImageResized is a room function current to AGS 3.0.1. So... in short, I'm hoping someone knows about this bug and/or what I could do to fix it.

Pumaman

Please post in the module's thread to report problems with a module.

However, the most likely cause of this is that the module is using old-style scripting and thus requires that you set the "Enforce object-based scripting" setting to False in the Scripting section of your game's General Settings.

Lt. Smash

#2
RawDrawImageResized is old-style scripting from ags 2.62 and older. If you don't want to correct the whole module try to uncheck 'enforce object-based scripting' and 'new-style strings' in the general settings pane.
AGS throws an undefined token error when there is a word, text (not a String) in the script that it doesn't understand. (like Wienerwurst)

[edit] oh, my fault. Two times "nearly" the same answer. Didn't see the post from Pumaman.

SMF spam blocked by CleanTalk