hmmm... ich schicke mal den code ausschnit

Code:
action light_sprite()
{
  light2 = me;

  set(my.ZNEAR|OVERLAY|BRIGHT|PASSABLE);
  my.roll = 1;   
  

  while (1)
  {

    vec_set(my.x,you.x); 
 	  wait(1);
  }
}


action anymodel{
	
	light1 = me;
	set(my.NOFOG|BRIGHT|PASSABLE);
	my.material=glowmodel;
	my.skill41 = float(1); 

	ent_create("light.tga", my.x, light_sprite); 

}



Last edited by Noobi; 01/31/10 18:39.