31
Ask a Question / Re: Attacking?
« on: July 29, 2013, 06:27:05 am »
Off the top of my head. You could make a game attribute/ variable with a value of say 100. Then create a behavior for the sword that reduces the attribute everytime the sword collides with the actor that you want to attack. Then you could also have a behavior that once the game attribute = 0 kill the actor.
I hope that this helps
I hope that this helps