Thread: On "if"s
View Single Post
On "if"s
Old
Matchewawa
Member
 
Status: Offline
Posts: 32
Join Date: Feb 2011
Default On "if"s - 04-04-2011, 11:04 PM

I wonder, is there a way to establish an amount of times that a function happens before the "then" happens in an "if, then". In other words, lets say that you are attacking an enemy. When you attack him, the "if" sees that you attacked him and runs the method for his immediate death, but could you set the function in the if so that if that happens so and so times (let's say three), then the death sequence happens? I've tried many things over the time that I've been using Alice. I did find one way, but it's tedious and inefficient for multiple enemies.

I'm trying to establish hitpoints for enemies so that they don't just die the first time you hit them.

Last edited by Matchewawa; 04-04-2011 at 11:22 PM.
   
Reply With Quote