Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Detecting friendly kill
Detecting friendly kill
Dec 8 2008, 12:13 am
By: Oo.DaMeiN.oO  

Dec 11 2008, 1:14 pm Ahli Post #21

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

I added the death counts in that trigger's conditions. If your teammate is dead, enemies aren't and you got kill score, you backstapped him.
I tested it in your map and it works now.
If both teams teamkill at the same time, nothing happens... (to make it totally equal you should add a negative points counter.)
I send u the map per PM.




Jan 30 2009, 12:41 am Decency Post #22



Confused why my map isn't working, I thought I had this right but I don't. The triggers are commented "Red kills Orange" "Orange kills Red" and etc.

P1/P5 (Red/Orange) are on one team, P2/P4 (Blue/Teal) are on the other. Any help would be appreciated, thanks.

http://www.mediafire.com/?et0fdozjedn



None.

Jan 30 2009, 5:35 am Decency Post #23



Fixed it. Strange bug though, even though I had the backstab triggers first, the "player kills enemy" trigger fired first. I guess the "deaths" isn't recorded as fast as the "kills" score. Whatever, it works by adding additional conditions to the "player kills enemy" trigger.



None.

Jan 30 2009, 12:31 pm NudeRaider Post #24

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from name:FaZ-
I guess the "deaths" isn't recorded as fast as the "kills" score.
Exactly.
Dying units can still be detected for a half trigger loop or so.




Jan 31 2009, 4:57 am Falkoner Post #25



Quote
Dying units can still be detected for a half trigger loop or so.

Yeah, by the Bring/Command conditions, however, as soon as they die the Death is added. Hence being able to detect where a unit died. Something else must have done it, but it works anyway, so :hurr:



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
Please log in to shout.


Members Online: Excalibur