View Single Post
Old
Lordelwood
Senior Member
 
Lordelwood's Avatar
 
Status: Offline
Posts: 43
Join Date: Oct 2010
Default 05-06-2011, 08:42 PM

Quote:
Originally Posted by sfunk View Post
I would suggest just using number variables so for example if you press a certain letter such as "A" to have it kick, and then using a variable, have it set the value to "random number" and put an arguement for it so it only chooses a random number between a certain value, and depending on value the random number chooses, will allow for certain amount of damage, and for combos, set aa variable counter for moves or whatever you want to call it, then have the value increase by one, and everytime it increases , having the attack button a different move you hit it each time until you pull away from your attack setting the value back to zero so the combo can start back over.
ok, i see what your getting at, but im on a time-line, so i was thinking just have the damage be set, i was more wondering about how to move the enemy, make him move randomly or what. i dont know a thing about enemy coding when it comes to fighting games and how they normal work
   
Reply With Quote