I'm trying to modify my space level. I want to have a particle generator located about 500 quants in front of the player's ship, no matter what direction he/she faces. I think this is what the original poster was looking for too.
I've tried to use vec_set(mytemp,player.pos)
Then add 400 to "mytemp"s x, y, & z, in a while (1) loop, but none of these seems to make it follow the player and throw stars at 'em.
Anyone got a solution?
code:
ACTION seeing_stars
{
WHILE(1)
{
vec_set (mytemp, player.pos);
mytemp.x = player.x + 400;
mytemp.y = player.y;
mytemp.z = player.z;
EMIT point_emit,mytemp,emitter;
WAIT(point_var);
}
}