All Flags are declared as CAPS writers..

impact_event => needs to be => IMPACT_EVENT


here´s my levelloader ( from my jump´n run ).. perhaps it helps you:
Code:
var levelnum          = 0;
STRING* numgiver = "#10";

function loader(STRING* levelname, levelnum)
{
	if(levelnum != 0)
	{
		str_for_num(numgiver, levelnum);
		str_cat(levelname, "_");
		str_cat(levelname, numgive);
	}
	str_cat(levelname, ".wmb");
	level_load(levelname);
	wait(3);
	str_cmp(levelname, "");
	str_cmp(numgiver, "");
	levelnum = 0;
}

function main()
{
	...
	loader("Leveldatei", 1);  // call level without "*.wmb" ending. The number is the number of the level.
	                          // Just call the levelfile f.e.: Leveldatei_1.wmb, Leveldatei_3.wmb.
	                          // If you don´t need levelnumbers, let levelnum == 0
	...
}




Last edited by Espér; 08/05/09 12:10.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<