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

[Trigger] Need timed life trigger help!

Status
Not open for further replies.
Level 6
Joined
Jan 2, 2015
Messages
171
I am making trigger for Boss in my map so it can gain/regen life (for example 5000 assumming 5% of his HP is 5000) in every 5 seconds..i tried to use my own trigger but it just heal him back to full hp

Regen
Events
Game - GDD_Event becomes Equal to 0.00
Time - Every 5.00 seconds of game time
Conditions
Actions
Unit - Set life of Triggering Unit to ((Life of (Triggering unit)) + 5000.00)
Set TempPoint = (Position of GDD_DamagedUnit)

i hope someone can help me to correct them!
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
I think he wants to do it when the boss is only out of combat...
However where does (Triggering unit) come from?
"Every 5 seconds of gametime" has no triggering unit. Either this is null or it is a random unit.

I dont really know exacly what that GDD_Event is (I thought that it was about the damage detection system but I dont know what it does.)
Maybe you should have that in the conditions section.
Condition - Real comparison -> GDD_Event is equal to 0.00
Will take a look at what it does if you can send me the link to the resource.
 
Level 6
Joined
Oct 31, 2014
Messages
170
Is it a timer while you are fighting (like hard mode) or do you want his life to get full when he is out of combat (like if your heros get his ass kicked hard) ?

in the first case it's pretty easy, as squiggy said you can just have a DUMMY somewhere and add/remove unholy aura.

in the second case it's a bit different. is your hero able to escape the fight or does he have to die (like in an arena) ? if he can escape then you probably have to use a [region event] (a line to pass and then the boss will reset and regain his life). if you heros is in an arena its even more simple as you can just set the trigger [a unit dies]
 
Status
Not open for further replies.
Top