Warcraft III resources & community, 2003–2006 · archived

a little help is needed

24 posts
#1

a little help is needed

How do I change a units max health?
#2
go into the object-manager and klick on the unit u want to change the hp, scroll down and change the max hp to ur wishes...
#3
well.. if tr!kzz answered your quest its alright and im sorry to post useless, but if you mean how to change max life in game with triggers - then you need WEU. i dont think its possible with the normal WE.
#4
You can make a trigger to compare current max health to a real value for the max health you want and force tomes of max health on the character using triggers.
#5
Yes i'm wanting to change hp ingame, but i want to be able to lower hp also.
#6
well, as far as i know ... with normal WE u can change the health of a unit only to a percentage of max health with max of 100%. so you wont be able to set the health to specific value. (correct me if im wrong)

For changeing hp ingame you then need world editor unlimited and its advanced triggers...

Are you already using WEU??
#7
Yes I'm using WEU
#8
It's possible with both. If you are trying to change the HP without changing the pool use this: (this is just an example)

Events:
Generic Unit Event: A unit Dies

Actions:
Unit- Set life (to value): Set life of (Killing Unit) to (Arithmetic)((Life of (Killing Unit)) (Unit-Property)+ 5.00.

At least I think that this is what you asked.

-Rui
#9
In the normal World Edtior just edit the book of health, so you cant see the effect then its used.

Then make a trigger there add the book of health to the unit.
#10
haha... omg yes. sure its possible with WE...
stupido me 8)
#11
I want to be able to raise and lower the max health
#12
Then also make a tome that gives -life (hold shift while u change the amount of hp in object editor)
#13
LineraI want to be able to raise and lower the max health


Dude. Simply use this.

Events:
You choose

Conditions:
You choose

Actions

Set life of unit (to value): Set Max Life of (Unit) to ((Max Life of (Unit)) + You choose.

If you did not understand just contact me via msn or AIM and I will explain it better.

-Rui
#14
speaking of tomes... how can you make a shop have like 20 of each tome istead of one?
#15
He didn't said a $h!t about tomes. He said "How do I change a unit's max health?". And I answered it already.

-Rui