Posted By
|
Message
|
joe
Registered 09/10/2002
Points 8
|
25th May, 2003 at 15:03:43 -
when i punch an enemy both people die
preses ctrl - change animation to punch
enemy collides with player, animation is shooting -destroy enemy
enemy collides with player, (negate) animation is stopped -destroy player
help me
sorry for the spelling mistakes
|
RapidFlash Savior of the Universe
Registered 14/05/2002
Points 2712
|
25th May, 2003 at 16:07:58 -
You might want to try adding
Enemy Collides with Player
Player- Animation Punch is playing ---> destroy enemy
Or maybe it's the fact that when you press ctrl it changes the animation to punch but when your animation is shooting you destroy the enemy.
http://www.klik-me.com
|
Weston L
Registered 16/12/2002
Points 1603
|
25th May, 2003 at 16:45:21 -
"enemy collides with player, (negate) animation is stopped -destroy player "
Why did you negate stopped? It is destroying the player because when the player is punching the animation is not stopped, therefore the player is destroyed.
That should fix it.
n/a
|
joe
Registered 09/10/2002
Points 8
|
25th May, 2003 at 17:27:36 -
i ment shooting for both.
when i un nagetit punching the enemy destroys the enemy but not the player but the enemy dosent destroy the player when the player is stopped
sorry for the spelling mistakes
|
joe
Registered 09/10/2002
Points 8
|
26th May, 2003 at 03:48:30 -
I did it
player presses control-set value of player to 1,set animation to shooting
ANimation shooting is over-set value of player to 0
player value=1 collides with enemy-destroy enemy
player value=0 collides with enemy-destroy player
Yea
sorry for the spelling mistakes
|
|
|