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.
[04:15 am]
DarkenedFantasies -- you eat lots of beans
[03:46 am]
IskatuMesk -- how do i get gas
[11:43 pm]
Moose -- you don't
[10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
Please log in to shout.


Members Online: Zergy