SimpleRain error: Undefined Token "RawSaveScreen"

Started by EliasFrost, Wed 18/09/2013 13:58:24

Previous topic - Next topic

EliasFrost

Hi, I know the module is pretty old but I'm having problems with the current rain module I'm using (it's only available in DirectDraw, which is a bummer) and I figured I'll try another one, and I downloaded SimpleRain, but I'm now getting a bit of a problem when I run it, I get the error: Undefined Token "RawSaveScreen". Is RawClearScreen an obsolete function from an older version of AGS or is there something else that's causing the module to fail?

Would be happy is SHH himself would answer the question but if anyone else know the source of the problem, I'm all ears.

Thanks!

EDIT: Sorry, the error was about RawSaveScreen, not RawClearScreen.

Crimson Wizard

Yes, it is an obsolete function, but I'd figure it will take some time and effort to upgrade the module to AGS 3.2.1.
Therefore I suggest you to enable compatibility mode (this permits usage of obsolete functions in script).
Go to project's "General Settings" -> "Backwards Compatibility" section -> and set "Enforce object-based scripting" to FALSE.

EliasFrost

Awesome, thanks. Seems like I'm getting other problems now, the module doesn't support transparent sprites. Reviewing the docs just now, seemed like I missed that part, bugger.

SMF spam blocked by CleanTalk