Code:
function basic_effect(var* var_num){
	VECTOR effect_spot;
	vec_for_vertex(effect_spot, me, var_num);
	effect(wings_Effect_base, 2, effect_spot, nullvector);	
	return(var_num);
}
action tempact(){
	while(1){wait(1);
		basic_effect(21);
		my.pan += 15 * time_step;
	}
}



Why doesn't this work? If I just place the effect in the action, it obviously works - but not if I place it in a function...

laugh


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com