help with shooting directions
![Post Post](styles/prosilver/imageset/icon_post_target.gif)
i used this code
so bullets would shoot the way the character was facing but an error ocured (bad spelling
) does any one no what i did wrong?
- Code: Select all
if (animindex == getAnimIndex("guy walk r") ||
animindex == getAnimIndex("guy stop"));
{
CreateActor("bullet", "BULLET", "(none)", "bullet r ", 25, 0, false);
}
else CreateActor("bullet", "BULLET", "(none)", "bullet l ", 0, 0, false);
so bullets would shoot the way the character was facing but an error ocured (bad spelling
![Embarassed :oops:](http://game-editor.com/forum/images/smilies/icon_redface.gif)