help with shooting directions
Posted: Tue Jun 19, 2007 2:04 am
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 ) does any one no what i did wrong?