hi guys ,
i wrote a very simple code for a coin , but there is no action ...
look at my code :

Quote:

action coin ()
{
while(1)
{
my.pan += 5 ;
my.tilt += 5 ;
if (my.event == ENABLE_IMPACT)
{
counter_var += 1 ;
beep() ;
ent_remove(me);
}
wait(1);
}
}


i used this code but i saw no action too ...
if (my.event == ENABLE_IMPACT && you == player)

what is problem ?

smile