Originally Posted By: v3c7r0n
I just bought the commercial version (7.06.1) and this still happens.

I also tried deleting and recreating the script. On launch I get the error in the splash and now I get an actual msg box captioned "Error E355" saying "startup failure".

Ok, but then I comment out the offending line of code, run it, uncomment the line and now it freaking works?!?!?!?!?!

Does the SED have a Clean & Rebuild like VS.net?


heh heh...just kidding. Still broken.

Code is:
///////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////////////////////////////////
// Resource Definitions
BMAP* NoAlpha ="flat.bmp";
//BMAP * AlphaImage = "flat alpha.tga";
///////////////////////////////////////////////////////////

PANEL* TestPanel =
{
pos_x = 0;
pos_y = 0;
layer = 1;
bmap = NoAlpha;
flags = OVERLAY | VISIBLE;
}

function Config()
{
// set the mouse mode to 2
mouse_mode = 2;
video_mode = 7; // Set Res to 800x600
screen_color.blue = 150; // make background blue
}




function main()
{
var number;

Config();
}

and the errors are:
test.wdl 13 - Parameter unknown pos_y bad keyword in {}
test.wdl 12 - Parameter unknown pos_x bad keyword in {}
test.wdl 11 - Parameter unknown PANEL * bad keyword in {}