ID:273540
Jul 23 2010, 1:35 am
|
|
do you guys know how to make a character go in to a battle stance when he get hit or is attacking something.and id like to make a time elay on the battle stance aswell.but when the moves he goes back to hes normal icon_state
|
In response to Tonyth
|
|
but how can i make it that if he runs away his icon state goes back to null, and stay in the battle stance
|
In response to PranCinMonki
|
|
You seem to need to learn the basics first.
|
In response to Darkjohn66
|
|
Adding a quick while loop into the proc will achieve what you need
mob Its not perfect and i kind of just added enough so it would work but i'll let you guys spend the time making it more efficient ;) |
i wouldnt bother with the whole if an enemy moves away thing then stance returns to normal. Just for a state change i would just make it have a time delay then possibly a verb to change battle stance if the user wishes too.
Create a variable for your mobs called stance or summit and make it equal 0
Then i would make a proc to sort out the process
Then i would add some code to my attack verb watever it may be
and there we have it that should work a treat