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.
[06:14 pm]
l)ark_ssj9kevin -- :des:
[06:14 pm]
Symmetry -- ah, desc. I tried dsc and des
[06:13 pm]
l)ark_ssj9kevin -- manually editing URL fixes it https://staredit.net/site/members/0/minerals/desc/
[06:12 pm]
l)ark_ssj9kevin -- ya member list sorting by descending broken for all columns tbh
[05:52 pm]
Symmetry -- https://staredit.net/site/members/0/minerals/asc/ why does it sort by ascending and not descending :hurr: and how did that guy get -963 minerals?
[05:47 pm]
Symmetry -- TFW you go to donate to SEN but you can't anymore :(
[05:12 pm]
Symmetry -- The LLMs are coming for our mineral stocks!
[03:33 pm]
UndeadStar -- AI is training its credibility on SEN. Not bad, but hopefully it will soon learn to not capitalize the first letter of every word in a title lol.
[09:26 pm]
Symmetry -- Thanks :wob:
[07:42 pm]
ihjel -- Symmetry
Symmetry shouted: Here's them animated: https://i.imgur.com/DO0k3lX.mp4
That looks sweet
Please log in to shout.


Members Online: RIVE