Posted By: Rei_Ayanami
Bullet doesen´t remove - 07/25/09 17:26
Hello!
I am programming my weapon at this time . My problem is that my bullet(plasma bullet) doesen´t remove. Here is my Code:
I know that I call the function plasma_effect 8 times, but I need this for the plasma effect .
I don´t know why?
Thanks for looking!
I am programming my weapon at this time . My problem is that my bullet(plasma bullet) doesen´t remove. Here is my Code:
Code:
function blaster_shoot() { wait(3); my.pan = player.pan; set(my, INVISIBLE | PASSABLE); reset(my, VISIBLE); my.emask |= (ENABLE_IMPACT | ENABLE_ENTITY | ENABLE_BLOCK); my.event = remove_plasma_ball; plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); plasma_effect(); c_setminmax(me); while(my != NULL) { you = player; c_move(me, vector(10*time_step,0,0), nullvector, 0); wait(1); } }
I know that I call the function plasma_effect 8 times, but I need this for the plasma effect .
I don´t know why?
Thanks for looking!