Staredit Network

Staredit Network -> UMS Assistance -> Detect kills of a certain player
Report, edit, etc...Posted by O)Matt_Burch on 2006-09-12 at 20:18:40
Is there an accurate trigger that can detect if you killed a wraith owned by player 7? What I would use if I can't find anything else would be.

Condition:
Current Player has score exactly (wraith kill score)
Player 7 has atleast 1 death of terran wraith
Action
subtract 1 death count for terran wraith owned by player 7
subtract (wraith killscore)
add minerals
preserve trigger
Comment: (bleh..)


This won't be 100% accurate I know, that is why I am wondering if there is a 100% accurate way. I need this with a hyper trigger, because if player 1 kills a player 2 wraith at the same time player 3 kills a player 7 wraith, player 1 will get the money...
Report, edit, etc...Posted by Dragoon-elf on 2006-09-12 at 20:21:36
Why not try to use death counters as well to make it even more accurate?
Report, edit, etc...Posted by O)Matt_Burch on 2006-09-12 at 20:25:21
i am.. using death counters..

QUOTE(O)Matt_Burch Posted Today @ 06:18 PM)
Condition:
Current Player has score exactly (wraith kill score)
Player 7 has atleast 1 death of terran wraith
Action
subtract 1 death count for terran wraith owned by player 7
subtract (wraith killscore)
add minerals
preserve trigger
Comment: (bleh..)


there, is that not a death count?
Report, edit, etc...Posted by Dragoon-elf on 2006-09-12 at 20:30:33
Oh crap I didn't read it all....well the way I have mine set up that works is to have it to where p8 death counters are always set to 0 and this is it...


Trigger
Description:
Setting to 0
Players:
¤ Player 8
Conditions:
¤ Suffers exactly 1 death of men (or specific unit)
¤ Always
Actions:
¤ Set deaths of all men {or specific unit) to 0
¤ preserve trigger


with hyper that should work


Trigger
Description:
Here
Players:
¤ Killing Player
Conditions:
¤ Kills exactly 1 Wraith
¤ Playar 8 suffers exactly 1 death of wraith (or unit)
Actions:
¤ Do what you want with it!!!!

Report, edit, etc...Posted by DT_Battlekruser on 2006-09-12 at 20:31:11
That method will only be inaccurate if
a) two or more wraiths are killed per trigger run
b) another unit and a wraith are killed in between trigger runs

There isn't a better way, I'm afraid.
Report, edit, etc...Posted by PCFredZ on 2006-09-12 at 20:36:28
QUOTE(DT_Battlekruser @ Sep 12 2006, 08:30 PM)
That method will only be inaccurate if
a) two or more wraiths are killed per trigger run
b) another unit and a wraith are killed in between trigger runs

There isn't a better way, I'm afraid.

[right][snapback]559747[/snapback][/right]

b) is only because he used Kill Scores. If the Perfect Kills to Cash system was used, the problem won't happen, and a) would only occur if P7 and a different player suffered a death of Wraith in 1/12 of a second, which becomes the ONLY possible bug.
Report, edit, etc...Posted by O)Matt_Burch on 2006-09-12 at 20:39:09
er.. you need to have the kill score.. cuz you cant set Kills back to 0.

QUOTE
b) is only because he used Kill Scores. If the Perfect Kills to Cash system was used, the problem won't happen, and a) would only occur if P7 and a different player suffered a death of Wraith in 1/12 of a second, which becomes the ONLY possible bug.

er.. I came across a glitch once, where 120 dc's was 1 second O.o i think i still have that map.
Report, edit, etc...Posted by PCFredZ on 2006-09-12 at 22:50:26
QUOTE(O)Matt_Burch @ Sep 12 2006, 08:38 PM)
er.. you need to have the kill score.. cuz you cant set Kills back to 0.
er.. I came across a glitch once, where 120 dc's was 1 second O.o  i think i still have that map.
[right][snapback]559753[/snapback][/right]

The Perfect Kill to Cash uses the Most Kills condition, not the Kills condition.

Death counters are dependent on trigger run cycle frequency that is affected only by hyper triggers, they don't glitch up for no reason.
Report, edit, etc...Posted by O)Matt_Burch on 2006-09-12 at 22:55:36
er.. but i need it so. if player 3 kills a white wriath, and player 1 else kills a player 2 wraith, player 1 will not get the money, but player 3 does. because they both have the same Kill score, and player 7 has a death of that unit. I just want to detect to whom killed player 7.

QUOTE(PCFredZ Posted Today @ 08:50 PM)
 

QUOTE(O)Matt_Burch @ Sep 12 2006, 08:38 PM)
er.. you need to have the kill score.. cuz you cant set Kills back to 0.
er.. I came across a glitch once, where 120 dc's was 1 second O.o  i think i still have that map.

The Perfect Kill to Cash uses the Most Kills condition, not the Kills condition.
Death counters are dependent on trigger run cycle frequency that is affected only by hyper triggers, they don't glitch up for no reason.


er..
QUOTE(O)Matt_Burch @ Sep 12 2006 @ 08:38 PM)
er.. you need to have the KILL SCORE.. cuz you cant set Kills back to 0.
er.. I came across a glitch once, where 120 dc's was 1 second O.o  i think i still have that map.

I can't use kills i know, thats why i want to use kills score. if i do most kills, it will only be a kill, not the certain unit. I am needing this because i am using wraiths or something as a life point, so i can use trigger dmg and unit dmg.
Next Page (1)