How would you set up a map with people getting certain amounts of kills for a seperate unit chosen and then raising the hp depending on the amt of kills?
Ex: Choose a gol (renamed) and on lvl 1 is has 17 hp, but then on lvl 2 (after a certain amt of kills) gets more hp...how would u do that...
Also, the hp for each unit would have to be diff fromt he beginning to the end
You can either use modify unit HP%, or use virtual HP for precise HP amounts.
Most common, I'd say, is just using percentages. They just have it so the goliath has 170 health, but at level 1, when he heals, he only gets healed to 10%, and he starts at 10%. Leveling up would be done by making it so the unit heals to 20%, 30%, etc.
would u need switches at all?
never use switches for a linear system like this. it over complicates it and wastes switches.
you should have a leaderboard somewhere, just set it so when the leaderboard is at least w/e amount set to w/e hp
Or you could just have it create a unit (like a data disk) somewhere and use a bring condition. Every time you level up it create the unit at that location, when you heal, it says Bring exactly 1 data disk to location, set hp to 10%, bring exactly 2, 20% hp etc.
would u mind showing it in trig form?
QUOTE(urmom @ Jun 17 2006, 11:34 AM)
Here is an example from the tutorials database.
http://www.staredit.net/index.php?tutorial=73[right][snapback]508298[/snapback][/right]
i do believe at the top it says to check the tutorial database before posting fadetoblack
Or you could like turn a 10 HP ghost into a 20 HP Kerrigan, and later to a 30 HP Duran and later to a 40 HP Stukov?
the whole point of the system is to NOT use other units so you don't lose your hotkey, among other things
Here's the trigger form of it:
Your standard level up:
(Score) Current player scores at least 500 points (or whatever)
Create data disk at location.
Then when you heal:
brings at least 1 (whatever) to heal
brings exactly 1 (2, 3, 4 etc.) data disk to location
Set unit Hit Points to 10% (20, 30, 40 etc.) for unit at heal
If you're going to have it exactly like that, then you should have a data disk at the location to tell the trigger that you're at level 1 (10% hp).
Needless to say, it was VERY time consuming to do that with a potion system and a mass heal spell ;p.
Never use real units as counters. It can mess up easily and looks quite noobish. Use DCs or scores instead.
ya, never use physical counters unless there are a limited number of uses and there are many heal spots. even then, they should be invisible. like, why would you pick data disks of all things...