Page 1 of 1

Attack problems

PostPosted: Sat Dec 08, 2007 5:22 pm
by Wayra Condor
I'm trying to make a geme similar to a fighting game, but with many enemies, so I have the folowing problem:
when I use an attack I can't make it attack both sides with the same key.
I got this code:

if(attack1==0)
{
if(*)
{
ChangeAnimation("Event Actor", "patada derecha", FORWARD);
}
if(*)
{
ChangeAnimation("Event Actor", "patada izquierda", FORWARD);
}
attack1=1;
}

The problem is with the *'s because I don't know what to put there to define which side the actor is looking.
Thanks for the help

Re: Attack problems

PostPosted: Sat Dec 08, 2007 5:54 pm
by Spidy

Re: Attack problems

PostPosted: Tue Dec 11, 2007 1:04 pm
by Bee-Ant
Hey, you post my link without got a permission of me :x :P
Oh..yeah...if you want to make more complex fighting game just ask me :mrgreen: