Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: rpg spells question. setting up damage
rpg spells question. setting up damage
Jul 5 2010, 3:43 am
By: tentons01  

Jul 5 2010, 3:43 am tentons01 Post #1



im my map, when someone uses a certain spell, a barrage of scourges AKA "missiles" flies to a target and each scourge is suppose to do a little damage to a ground unit AKA the target. How do you make the scourges do damage to a ground unit? I know there is a modify unit hp trigger, but that dosent work for me because like.. is it is set to put the target at 80% hp, then the first scourge would do that, then the rest of the sourges would just die with pretty much no effect, and also, if the target is less than 80% hp, it would basicly heal it. Are there any other ways to trigger scourges to do damage to ground units through triggers?



None.

Jul 5 2010, 4:55 am Vrael Post #2



Simply put, no. The only way its possible is through some form of virtual hit points, where you use death counters to keep track of the actual health, and modify the death count to subtract "health". Then the scourage basically is just a visual effect. Set up a death count for the units HP, then at certain amounts use the Modify Unit HP to certain percents so the unit looks just like the scourage is damaging it, but in reality you're just detecting the scourage in the vicinity of the unit and subtracting from the death count.



None.

Jul 5 2010, 5:07 am tentons01 Post #3



actually, that idea will work for what im doing. thanks ;D you can lock this now



None.

Jul 5 2010, 5:10 am Cinolt Post #4



Alternatively you can cycle through the scourges using Give Unit and use a Direct Damage System.



None.

Jul 5 2010, 5:21 am tentons01 Post #5



actually i had a new easier idea of having 2 different spells, 1 for air and 1 for ground. The anti air spell spawns scourges, the anti ground spell spawns a barrage of scarabs (yes i know how to trigger that ;D) this way i can easily set up the amount of damage i want done. I was going to use infested terrans because its a lot easier to trigger, but the splash could kill the hero. Also scarabs look better.



None.

Jul 8 2010, 5:05 pm CecilSunkure Post #6



Quote from tentons01
Direct Damage System
DDS. Check this out, as yoonkwun said.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-8-06. : 2:41 am]
Oh_Man -- i used to play TF2 competitive in that clan, and also was PR manager (ie: i wrote all the website posts)
[2026-8-06. : 2:41 am]
Oh_Man -- another fun fact iaguz actually joined the clan i was part of - Frenetic Array
[2026-8-06. : 2:40 am]
Symmetry -- Human memory is a fragile, fallible thing
[2026-8-06. : 2:39 am]
Oh_Man -- i realised all his shit was halluc and i wiped out his measly army of fake hallucs and he called GG - yeah thts wat actually happened damn false memory strikes again
[2026-8-06. : 2:38 am]
Oh_Man -- i was zerg, the toss guy did a bunch of hallucinates, and i was like, welp, i guess i'm dead, but i have that mindset of never giving up, so attacked him anyway, then tht was wen
[2026-8-06. : 2:38 am]
Oh_Man -- coz i was actually a zerg main, so wat ACTUALLY happened was a complete reverse of this
[2026-8-06. : 2:37 am]
Oh_Man -- i found an old comment of mine i actually think the idra thing over-ride my own memory
[2026-8-06. : 2:22 am]
Symmetry -- was it idra
[2026-8-06. : 1:52 am]
NudeRaider -- Oh_Man
Oh_Man shouted: and i went on to win the tournament, and a pair of steelseries headphones. i even reember how i won the final match - hallucinated a fck-tonne of units and my opponent thought i had way more than he did and GGed
classic
[2026-8-05. : 2:56 pm]
Oh_Man -- long story short - patience is a virtue!
Please log in to shout.


Members Online: l)ark_ssj9kevin