Ok, this is the first time I'm using this function so if I'm dumb please forgive me.
VAR flame_pos[3];
FUNCTION flame_activate ()
{
WAIT 64;
WHILE (1)
{
IF (player!=NULL)
{
temp.x=2*cos(player.pan);
temp.y=2*sin(player.pan);
temp.z=2;
vec_for_vertex(flame_pos,test_ent,287);
effect(blue_flame_particle,1,flame_pos,temp);
}
wait(1);
}
}
The vec_for_vertex line produces WDL errors, meaning A5 will start but with the first vec_for_vertex there's a messagebox saying "WDL crash in flame_activate" and with this the function will be terminated...
Could anybody please tell me what I'm doing wrong??? PLEEEEEEAAAAAAASSSEEEEEE
![[Big Grin]](images/icons/grin.gif)