Yes, then there is the problem, the manual code is C-Script code. A lite-C particle effect should look somehow like the following code:

Code:
function eff_somerandomeffect(PARTICLE* p) {
	vec_add(p.x,vector(random(4)-2,0,random(4)-2));
	vec_add(p.vel_x,vector(random(2)-1,0,random(2)-1));
	set(p, MOVE | BRIGHT | BEAM);
	p.bmap = bmp_flame_circle32;
	p.alpha = 60+random(40);
	p.size = 16+random(4);
	p.event = eff_fadefunction;
}



Last edited by Superku; 07/09/10 21:03.

"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends