LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Sep 13, 2002 11:20 pm |
I see two main approaches to this problem.
If you know approximately how long a round lasts, you can use alarms. For instance, if a round would last between 1 and 2 secs you could have a 2-second alarm to heal you if your hps are low, and make your alt attack, placing it in a class which would usually be disabled. You could then trigger on your attacks and enable the class to start it running. After the battle, you could either disable the class manually, or do it using triggers.
If you know how many attacks you'll get in one round, you can count your attacks. For instance, you say you might get 3 attacks per round. So, using a variable, add 1 to the variable each time you punch. Whenever it reaches 3, heal if necessary, tell your alt to attack, and set the variable back to 0.
LightBulb
Senior Member |
|