Yeah it works - THX for fast reply - manual should be updated here?

This topic is still fresh, so I add my next problem wink

I call the ENTITY_PUSH statement in this way:

Code:
function treffer() 
{ 
   ...   
   punkte_spieler += 50;
   //ent_remove(you);
   ...
}

...
my.group = 2;
my.push = 2;
set(my,ENABLE_PUSH);
my.emask |= ENABLE_PUSH;
my.event = treffer;

...



Pushed ENTITY has value 3. If function treffer is called the var "punkte_spieler" gets counted up. But if I remove the comment of "ent_remove(you);" I get an error message: "Invalid call in treffer()"

Thx Ditje

Last edited by Ditje; 08/13/10 07:37.