• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Trigger] periodically increasing creeps max HP

Status
Not open for further replies.
Level 9
Joined
Jan 14, 2008
Messages
366
how do you periodically increase the creeps max HP in an aos map ?

what are the alternatives? wich one is the simplest?

by periodically i mean time intervals of 5 minutes, not couple of seconds.
 
Actualy, you can use item abilities for that.
Group the units you want to increase their hit points, and add the 'item life bonus' to it.
When your timer is done, you just remove the ability.

Otherwise, you can use the 'Item Permanent Life Gain'.
I'm not sure, but I think if you add negative values to it, you may also decrease the hit points.

Upgrades is a fine alternative too if you want to make it easy.
Yet remember, if the player is a human, he will hear the sounds of 'update completed'!
 
Or just adjust the Neutral Hostile player's handicap.

If you do that, all you need is a real variable, and a timer script that adds to that real, adjusting handicap as it progresses. Something like:

Every X seconds
set handicap = handicap + whatever boost you want
Give Player handicap = handicap
 
I would advise a combination of upping handicap (it only works up to a certain % increase). Past that then eithor use upgrades of large denominators followed by handicap reduction for best efficency, or if you really want to up it high, use a HP tome system as those allow you to set unit HP directly via triggers.
 
actually using a simple custom upgrade based on the grunts hp-increasing upgrade works perfectly. for my purposes.

and in my case it is clearly the easiest and most solid alternative.

i highly suspects its the common standard for increasing the creeps hitpoints in any aos map periodically as players grow stronger.

thanks again to everyone for the helpful input!
 
Status
Not open for further replies.
Back
Top