Hi
is it possible, to change the MaxDamage value by scripting? So for example after some time the unit gets more HP or so. If yes, how can i do that?
Is it possible to change HP by script?
Moderator: Moderators
- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53
- Guessmyname
- Posts: 3301
- Joined: 28 Apr 2005, 21:07
- Optimus Prime
- Posts: 755
- Joined: 03 Oct 2005, 14:31
cool! Thank you very much :)
Is there anywhere a database for the methods and parameters you can use by standard for the scripts?
So i wouldnt need to ask here when i have a question...
Edit: Another question: How can i read the maxDamage value? I mean not in % but a real number.. for example 4938 HP?
I think request Health gets only the % value.
Is there anywhere a database for the methods and parameters you can use by standard for the scripts?
So i wouldnt need to ask here when i have a question...
Edit: Another question: How can i read the maxDamage value? I mean not in % but a real number.. for example 4938 HP?
I think request Health gets only the % value.
No, that change has not made its way into the official Spring release yet. And it's only for the current hp, not the max hp.
And yeah, just use damagemodifier=0.2; in the FBI and set ARMORED to TRUE; in the script to gives x5 hp to your unit (althought that's the TA way, I have not checked in Spring).
And yeah, just use damagemodifier=0.2; in the FBI and set ARMORED to TRUE; in the script to gives x5 hp to your unit (althought that's the TA way, I have not checked in Spring).
- Optimus Prime
- Posts: 755
- Joined: 03 Oct 2005, 14:31