• 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.

Help With Trigger

Status
Not open for further replies.
Level 3
Joined
Jan 27, 2005
Messages
68
Yup

Yes there is a way, just follow along.

Event
-What ever you want
Condition
-None (unless otherwise)
Action
Unit - Set life of (unit) to ((Percentage life of unit)) - 30%

There ya go. And to find the action just go under Unit, Set Life (to Percentage)
 
Level 4
Joined
Jan 3, 2005
Messages
91
By changing units life manually you don't actually "damage" a unit. instead you should order the [attacking unit] to damage the [attacked unit] with 0.30 (=30%) times the remaining life (or maximum life) of the attacked unit. Hope you will find the triggers by yourself, if not post it here asking again.

@Inu Yasha: Sp4WnEd did exactly not want to do what you proposed..

klovadis
 
Level 4
Joined
Jan 3, 2005
Messages
91
ordering a unit to damage another unit via this trigger instantly deals the damage, without any effect or cooldown or something like that. if you want to damage a unit this way, you always need an "author" of the damage, thus the unit damaging it in the trigger.

try doing what I mentioned earlier,


klovadis
 
Status
Not open for further replies.
Top