function test_event()

{
if(event_type == EVENT_BLOCK) sys_exit("bye bye ...");
}

action test_action()
{
my.emask |= EVENT_BLOCK;
my.event = test_event;

while(1)
{
c_move(my_model,vector(10,0,0),nullvector,GLIDE);
wait(1);
}

}


Check manuel,all truth in there wink


The smaller the bug, the harder it is to kill.
_________________________________________
Forklift DEMO (3dgs)