Register for free, and make this box disappear!

Welcome to the BF Forums! Register Now, It's Free!


Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.



Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
BattleForums.com Forums > Major Games > Starcraft > Starcraft Maps and Modifications

We're Half-Way There!! - BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 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.
God Illuvatar is offline   Reply With Quote
Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
Old 02-25-2004, 04:09 PM   #2 (permalink)
BattleForums Newbie
 
hydrakon's Avatar
 
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.
__________________
hydrakon is offline   Reply With Quote
Old 02-25-2004, 04:16 PM   #3 (permalink)
BattleForums Addict
 
Icedragon's Avatar
 
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!
Icedragon is offline   Reply With Quote
Old 02-25-2004, 04:19 PM   #4 (permalink)
BattleForums Newbie
 
hydrakon's Avatar
 
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.
__________________
hydrakon is offline   Reply With Quote
Old 02-25-2004, 05:17 PM   #5 (permalink)
BattleForums Junior Member
 
Hiho-E(A)'s Avatar
 
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.
__________________
Hiho-E(A) is offline   Reply With Quote
Old 02-25-2004, 05:34 PM   #6 (permalink)
BattleForums Newbie
 
hydrakon's Avatar
 
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.
__________________
hydrakon is offline   Reply With Quote
Old 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.
__________________
God Illuvatar is offline   Reply With Quote
Old 02-25-2004, 07:45 PM   #8 (permalink)
BattleForums Senior Member
 
Bolt Head's Avatar
 
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.
Bolt Head is offline   Reply With Quote
Old 02-25-2004, 09:14 PM   #9 (permalink)
BattleForums Junior Member
 
Hiho-E(A)'s Avatar
 
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...
__________________
Hiho-E(A) is offline   Reply With Quote
Old 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
__________________
God Illuvatar is offline   Reply With Quote
Old 02-25-2004, 11:18 PM   #11 (permalink)
BattleForums Senior Member
 
Bolt Head's Avatar
 
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)
Bolt Head is offline   Reply With Quote
 
Reply

Get rid of all these ads! Take 30 seconds to register.

« gunbound | LotR vs. Last Alliance Map »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 09:37 PM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0