Health problem
Posted: Wed Dec 23, 2009 8:12 pm
Well, its me again.
I have a little problem with health. I have 4 enemies for example (all clones)
And I want that every enemy have 100 healts. (variable for that is enemyHP)
So i put in create actor:
And when destroy actor or something like that...enemyHP... what?
I am a bit confused of that... because, I can destroy first enemy, but the others one have many HP, so I cant destroy them first!
__________________________________________________________________________________________________________________
Any ides how to do health for every enemy?
-Thanks, CAmPeR.
I have a little problem with health. I have 4 enemies for example (all clones)
And I want that every enemy have 100 healts. (variable for that is enemyHP)
So i put in create actor:
- Code: Select all
enemyHP+=100;
And when destroy actor or something like that...enemyHP... what?
I am a bit confused of that... because, I can destroy first enemy, but the others one have many HP, so I cant destroy them first!
__________________________________________________________________________________________________________________
Any ides how to do health for every enemy?
-Thanks, CAmPeR.