|  |
|  |
02-25-2004, 03:54 PM
|
#1 (permalink)
| BattleForums Member
Join Date: Aug 2003 Location: Ottawa, Ontario, Canada Posts: 408
| Subtracting Units Hp over time Saw this on blizzforums, and I just wanted to say something. IM at school,so i cant try it out. But using sc trigger might be able to make u 100 triggers, whereby u just order it to make it so that u subtract 1 hp from 100-1. Then once that is done, u can just use switches.
ie. player brings unit to location
set switch blue.
then u just have switch blue set subtract it. |
| | | | Sponsored Links |
02-25-2004, 04:09 PM
|
#2 (permalink)
| BattleForums Newbie
Join Date: Jan 2004 Posts: 21
| Kind of hard to understand what you just said, but I think you mean, by using 100 triggers, you can subtract one percent of health for every trigger. By the time you reach zero, you die! Where would this be useful?
*Thinks...*
In an RPG say your going through a poison gas chamber. Every second you lose some health. Is that what you're thinking of? If not there's some quick idea you could use.
__________________ |
| |
02-25-2004, 04:16 PM
|
#3 (permalink)
| BattleForums Addict
Join Date: Aug 2002 Location: The Swiming Pools Age: 20 Posts: 834
| Yes thats what he is talking about. i dont think you would need 100 triggers IF you can just say if switch is on then unit losses hp If switch is off then units Hp stays the same
__________________ I Will Rise from the Depths and be HEARD! |
| |
02-25-2004, 04:19 PM
|
#4 (permalink)
| BattleForums Newbie
Join Date: Jan 2004 Posts: 21
| There's no trigger that subtracts 1% HP and then can be preserved (slap me if I'm wrong). In my mind, I see it as a long four hours of clicking.
__________________ |
| |
02-25-2004, 05:17 PM
|
#5 (permalink)
| BattleForums Junior Member
Join Date: Sep 2003 Location: Prob at my comp playin SC Age: 21 Posts: 187
| Don't you just hate tghose times where all you do is hit copy, actions, player1 to 2, done, copy, actions, player 2-3, done, etc...
I HATE DOING THAT!!!!! Btw, that is a big gap in the sc triggers, allso another one is detecting low hp.
__________________ |
| |
02-25-2004, 05:34 PM
|
#6 (permalink)
| BattleForums Newbie
Join Date: Jan 2004 Posts: 21
| Hell ya! I wish Blizzard could have put that in their original StarEdit. Map making life would be so different.
__________________ |
| |
02-25-2004, 07:20 PM
|
#7 (permalink)
| BattleForums Member
Join Date: Aug 2003 Location: Ottawa, Ontario, Canada Posts: 408
| Well couldnt u do it so that, since ur losing 1 hp every second. just do this
switch blue is set. (and unit has started to lose hp.
WAIT 1 Second, set to 98 then next trig
SWitch is set
Wait 2 sseconds, set to 97.
Do u guys understand? i think it couild be done that way  then just preserve.It would take awhile but if u want it in ur map, u gotta do it.
__________________ |
| |
02-25-2004, 07:45 PM
|
#8 (permalink)
| BattleForums Senior Member
Join Date: May 2003 Posts: 1,194
| You can't do that Illuvatar because if the zergling is damaged by something else the trigger will end up healing the unit. You have to have a way to detect there health in order to do that. |
| |
02-25-2004, 09:14 PM
|
#9 (permalink)
| BattleForums Junior Member
Join Date: Sep 2003 Location: Prob at my comp playin SC Age: 21 Posts: 187
| which brings us back to the fact that however much Bizz claims that the sc editor does everything, it doesnt...
__________________ |
| |
02-25-2004, 10:28 PM
|
#10 (permalink)
| BattleForums Member
Join Date: Aug 2003 Location: Ottawa, Ontario, Canada Posts: 408
| Ah lol ok. Thought i was on to something. DAMN! I thought I had something noone else had figured out
__________________ |
| |
02-25-2004, 11:18 PM
|
#11 (permalink)
| BattleForums Senior Member
Join Date: May 2003 Posts: 1,194
| I don't think blizzard ever claimed that. . .
Illuvatar: The closest i belive you can come to it is teliporting the unit to a test place and having computer units with known damage shoot the unit at a controlled rate. Then when the unit dies the time it takes for the comp to kill the unit reflects how much life the unit had and from that you can calculate a amount to add or subtract to the health of a new unit. Of course this slightly rounded and takes a long time. (I have done this before) |
| | | |  | | Get rid of all these ads! Take 30 seconds to register. |