QUOTE(-)HyDrO(- @ Nov 6 2005, 04:00 AM)
omg so ez...
TRIGGER 1
players:
anyone
conditions:
if "current player" kills atleast 1 anyunit owned by "Force 2"
actions:
create "1" "point unit" at "scoring location"
preserve trigger
TRIGGER 2
players:
anyone
conditions:
"player" brings "atleast 1" "point unit" to "scoring location"
actions:
add "1" "custom score" for "current player"
remove "point unit" at "scoring location"
preserve trigger.
So let me get this straight: I do a -> b, b -> c, instead of a -> c?
Have I also mentioned this makes an endless loop after one kill?
Let's apply some logic...
I'm going to assume they players are divided into forces. I would use Allies/Foes, but I'm not sure if that works and I'm not willing to test it now.
Current Player and his allies are Force X.
Enemy Players are Force Y.Force X - 1Conditions:
-Current Player Kills score is at least 1. (You killed something)
-Force Y has suffered at least 1 deaths of men. (Foes lost something)
Actions:
-Set Score for Current Player, set kills to 0.
-Set Deaths for Force Y, subtract 1 from men.
-Whatever other triggers a valid kill sets off.
-Preserve Trigger
Force X - 2Conditions:
-Current Player Kills score is at least 1. (You killed something)
-Force X has suffered at least 1 deaths of men. (Allies lost something)
Actions:
-Set Score for Current Player, set kills to 0.
-Set Deaths for Force X, subtract 1 from men.
-Whatever other triggers a team kill sets off.
-Preserve Trigger
Repeat for Force Y, switching the Xs and Ys.
This should work 99% of the time, the other 1% being two things dying at the same time, which can cause a bit of confliction.