The problem is my guy can face right or left. I can write a script to make it shoot right, or left, but not either or depending on the char's position. How would I do this? Ive tried using
- Code: Select all
if ((animindex = 0));
(xvelocity = xvelocity+3);
if ((animindex = 1));
(xvelocity = xvelocity-3);
;
But it doesnt make the projectile move. There is a keydown command for the spacebar, which then makes the projectile actor. From there Im stuck. Any help or suggestions? -ALK3_Steph