Hi all,
I'm playing with A7 for the first time, and I've looked through a lot of the example scripts and played around a bit, but when I tried to write one of my own, I get the following error on the splash screen:
Compiling Main.wdl [Esc] to abort...
<BMAP* NoAlpha_tga=^flat.tga";>
main.wdl 6:3 (): Syntax Error - flat.tga invalid character.
Script Error
Engine Shutdown
Now, before I get pasted with the "You screwed up the code." responses, here is the entire script generating this error:
///////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////////////////////////////////
// Resource Definitions
BMAP* NoAlpha_tga ="flat.tga";
//BMAP * AlphaImage = "flat alpha.tga";
///////////////////////////////////////////////////////////
function Config()
{
// set the mouse mode to 2
mouse_mode = 2;
}
function main()
{
var number;
//string TestString;
Config();
}
It does nothing. Why? I haven't gotten that far yet. I don't understand how the "flat.tga" translates to ^flat.tga"?!
Any help is greatly appreciated.