[Trigger] Changing creep life dynamically

Status
Not open for further replies.

Auroi

A

Auroi

Hello.

I'm working on a project, and I need a way to change creep life dynamically.
:fp: Set creep life to variable * 10
Something like that. Is it possible?

Regards,
Anders
 
Before anyone but GhostWolf siad something, I Just manually set the max hp to 5000 and set the health relativly.. but it dosn't look very good. Do tomes work on non-heroes ?
 
How do I make a regular unit use an ability using triggers? I can't seem to find it, and right now I'm probably making a laugh of myself.
 
Use an ability?
Well, make sure the unit has the ability first.
Then check the appropriate Issue Order Targeting a Point/Unit/With No Target trigger action under the Unit action. They're down at the bottom of the list.
If you're dealing with a custom ability, order the unit to use the ability off of which that ability was based.
 
Or!
Just give them an inventory ability for a moment
Add the power up items
Remove the inventory ability.
Simple process.

The add/remove abilities can be found in the Unit list in action triggers.
The add items in inventory can be found at Hero list in action triggers.
 
For some reason, I can't get it working. Would ny of you mind making an example map? :witch_doc_sad:
 
Well there is one other way its simpler than those 2:
-Make a upgrade that increase HP by increments
-Give the units that you want to modify HP that upgrade.
-Make a trigger that upgrade it when you want.

Make sure the upgrade doesn't show up on the unit only the bonus.
Any problems with that?
 
Status
Not open for further replies.
Back
Top