• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

a little help is needed

Status
Not open for further replies.
Level 6
Joined
Sep 17, 2005
Messages
276
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.
 
Level 2
Joined
Aug 10, 2005
Messages
29
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.
 
Level 6
Joined
Sep 17, 2005
Messages
276
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??
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
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
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
Linera said:
I 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
 
Level 6
Joined
Sep 17, 2005
Messages
276
Rui said:
Set life of unit (to value): Set Max Life of (Unit) to ((Max Life of (Unit)) + You choose.

Code:
well i tried this:

set life of unit to life of unit * 1.05

and it didnt work cz its over the units MAX health.
but he wanted to know how to change MAX health....

so this old WE function changes - with my experience - only a units health till its below its max....

strange, strange.... :roll:
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
shadow1500 said:
there is no "Set Max Life of Unit".

u have to use "Item Life Bonus" Ability to increase a unit's max life, or use bonusmod which u can find by searching the forums.

Are we talking of the same editor? I bet not. Let's just conclue that there are multiple ways of changing max health kk? -.-

-Rui
 
Level 8
Joined
Jul 28, 2004
Messages
258
[quoteItem life bonus is only good for heroes, but you can make a Metamorphosis that lasts forever.[/quote]
not the tome ability, the Periapt of Vitality item gives that bonus.
its the only way to increase a unit's max life, not a player, not a hero, but any unit.

Are we talking of the same editor? I bet not. Let's just conclue that there are multiple ways of changing max health kk? -.-

-Rui
i am using the editor that came in with the Warcraft III.
 
Status
Not open for further replies.
Top