Staredit Network

Staredit Network -> UMS Assistance -> Kill score Count
Report, edit, etc...Posted by WCK on 2006-04-01 at 00:20:29
I am currently making a defence game, and I want to make it so every 5 kills, you get 1 civ. I looked at the triggers on turret defence to see how it was done on there, so i did it the same way on my map, but on my map it isn't working.

Trigger
Players:
¤ Players: 1-6
Conditions:
¤ - Current Player Kills score is at least 1.
Actions:
¤ - Modify score for Current Player: Add 1 Custom.
¤ - Modify score for Current Player: Add 1 Razings.
¤ - Modify score for Current Player: Set to 0 Kills.
¤ -Preserve Trigger.


Trigger
Players:
¤ Players: 1-6
Conditions:
¤ - Current Player Custom score is at least 5.
Actions:
¤ - Modify score for Current Player: Subtract 5 Custom.
¤ - Create 1 Terran Civilian at 'Civs' for Current Player. Apply Properties.
¤ - Show minimap ping for current player at 'Civs'.
¤ - Display for Current Player: 5 Kills - 1 Civ
¤ - Preserve trigger


Trigger
Players:
¤ Players: 1-6
Conditions:
¤ - Current Player Razings score is at least 10.
Actions:
¤ - Modify score for Current Player: Subtract 10 Razings.
¤ - Create 1 Terran Civilian at 'Flying Civs' for Current Player. Apply Properties.
¤ - Show minimap ping for current player at 'Flying Civs'.
¤ - Display for Current Player: 10 Kills - 1 Flying Unit Civ
¤ - Preserve trigger


My problem is, it doesn't always give me a civ at 5 kills. sometimes it will give me it at 6 kills, then 11 kills, then 16 kills, etc.

the flying civs one is for getting flying units. and that one will sometimes only go up at 11, 21, 31, ect.

I think it is because of the Kills score at least 1 condition. I think what happens is In kill 2 units at the same time, so it only thinks i killed 1 unit, and then gives me a civ at 6 kills instead of 5.

Does this sound correct? yes or no, and how can i fix this problem?
Report, edit, etc...Posted by Corbo(MM) on 2006-04-01 at 00:37:49
The only thing i can think of for your problem is that Instead of doing it "at least 5 custom" do it "exactly 5 custom" if it doesn't work then i don't know what the problem is because the trigger looks fine
Report, edit, etc...Posted by WCK on 2006-04-01 at 02:33:42
damn, sadly I already tried putting it as exactly, and what happens is, if I kill 2 things at the same time, the trigger won't be activated at all, it will go to 2 kills and keep going because the trigger usually resets after you get one kill, but if you get 2 kills and its set to exactly 1, then the trigger is skipped completely.

it seems like the only alternative would be to set a different trigger every for every 5 kills up to a really high number, which would take a damn long time cause i have alot of levels >.<
Next Page (1)