• 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] Life Value Degrade

Status
Not open for further replies.
Level 4
Joined
Aug 6, 2007
Messages
47
I'm trying to make the Life Value of any (unit) in the entire map to go to half health. Even if a new one of the units enters the board it will also have half health, depending on the game time. Example follows:

Elapsed Game Time is 40 seconds
Footman 300/400 HP

Elapsed Game Time is 70 seconds
Footman 250/400 HP

Elapsed Game Time is 100 seconds
Footman 100/400 HP

Elapsed Game Time is 120 seconds
Footman 50/400 HP

Elapsed Game Time is 160 seconds
Footman 40/400 HP
 
Level 4
Joined
Jun 19, 2007
Messages
107
PurplePoot, will that work?

I think the trigger would only make spawned/created/other way new units to have their hp the amount of "FootyLife", when the units alrdy in the game would just have the same hp. Tell me if I'm wrong :thumbs_up:
 
Status
Not open for further replies.
Top