Player 1Player 2Player 3Player 4Player 5Player 6Current Player Kills Exactly 1 ZerglingModify Resources for Current Player: Add 20 Ore and preserve trigger
but what happens is it constantly gives me. Anyone no what to do to fix the trigger? and since im asking for this
how would i have it give say 100XP to a points leaderboard
None.
An artist's depiction of an Extended Unit Death
http://www.staredit.net/?p=oldwiki&s=21The condition you have will always pass as true after one kill, so it will spam the player money. Above is a link to kills to cash systems.
Your trigger doesn't work right because you've still killed 1 Zergling, so it keeps firing forever. You can't subtract kills either, so there's no way to fix that specific trigger except to remove the preserve and then duplicate the entire trigger for 2 kills, 3 kills, etc. This method is shown under "Rewards with individual triggers" in Roy's link, and there's a program called Trigger Duplicator for just such things.
You may not want to do it like that though, so look at the other methods listed. You can also check out the triggers in
this map.
Also, you can set a leaderboard to display Custom with the label "XP", then include the "Set Score" action in a trigger to add 100 Custom for the player.
Just set their kill score to 0 before you want any of these triggers to fire and then make the condition "Current Player kills score is exactly 50." Fifty represents the zergling's unit score or w/e. Then, make the action add 20 ore and then subtract 50 kill score from the current player and preserve. ;o
Unit Kills Scores If You Need It
UNIT KILL SCORES
◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦
TERRAN
◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦
Units:
Marine - 100
Ghost - 350
Vulture - 150
Goliath - 400
Siege Tank - 700
SCV - 100
Firebat - 200
Medic - 250
Wraith - 800
Science Vessel - 1250
Dropship - 600
Battlecruiser - 2400
Valkyrie - 800
Gui Montag (Firebat) - 400
Civilian - 10
Sarah Kerrigan (Ghost) - 700
Alan Schezar (Goliath) - 800
Jim Raynor (Vulture) - 300
Jim Raynor (Marine) - 200
Tom Kazansky (Wraith) - 1600
Magellan (Science Vessel) - 2500
Edmund Duke (Siege Tank) - 1400
Arcturus Mengsk (Battlecruiser) - 4800
Hyperion (Battlecruiser) - 4800
Norad II (Battlecruiser) - 4800
Samir Duran (Ghost) - 700
Alexei Stukov (Ghost) - 700
Gerard DuGalle (Battlecruiser) - 4800
Special:
Vulture Spider Mine - 25
Buildings:
Command Center - 1200
Supply Depot - 150
Refinery - 150
Barracks - 225
Academy - 300
Factory - 600
Starport - 600
Science Facility - 825
Engineering Bay - 195
Armory - 300
Missile Turret - 150
Bunker - 150
Add-ons:
Comsat Station - 225
Nuclear Silo - 225
Control Tower - 300
Covert Ops - 225
Physics Lab - 225
Machine Shop - 225
Special Buildings:
Norad II (Crashed Battlecruiser) - 5000
Ion Cannon - 5000
Psi Disruptor - 3600
Power Generator - 600
Independent:
Independent Starport - 10
ZERG
◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦
Units:
Zergling - 50
Hydralisk - 350
Ultralisk - 1300
Broodling - 25
Drone - 100
Defiler - 450
Infested Terran - 400
Lurker - 500
Overlord - 200
Mutalisk - 600
Guardian - 1100
Queen - 800
Scourge - 200
Devourer - 1100
Torrasque (Ultralisk) - 2600
Matriarch (Queen) - 1600
Infested Kerrigan (Infested Terran) - 4000
Unclean One (Defiler) - 900
Hunter Killer (Hydralisk) - 500
Devouring One (Zergling) - 100
Kukulza (Mutalisk) - 1200
Kukulza (Guardian) - 2200
Yggdrasill (Overlord) - 400
Infested Duran - 700
Special Units:
Larva - 10
Egg - 25
Cocoon - 10
Buildings:
Infested Command Center - 900
Hatchery - 900
Lair - 1200
Hive - 1500
Nydus Canal - 225
Hydralisk Den - 300
Defiler Mound - 450
Greater Spire - 1350
Queen's Nest - 525
Evolution Chamber - 120
Ultralisk Cavern - 825
Spire - 750
Spawning Pool - 225
Creep Colony - 120
Spore Colony - 195
Sunken Colony - 240
Extractor - 75
Special Buildings:
Overmind (With Shell) - 10000
Overmind - 10000
Mature Crysalis - 5000
Cerebrate - 2500
Cerebrate Daggoth - 2500
Overmind Cocoon - 4000
PROTOSS
◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦
Units:
Dark Templar - 650
Dark Archon - 1300
Probe - 100
Zealot - 200
Dragoon - 500
High Templar - 700
Archon - 1400
Reaver - 800
Corsair - 700
Shuttle - 400
Scout - 1300
Arbiter - 2050
Carrier - 1900
Observer - 450
Dark Templar (Hero) - 400
Zeratul (Dark Templar) - 800
Tassadar/Zeratul (Archon) - 2800
Fenix (Zealot) - 400
Fenix (Dragoon) - 1000
Tassadar (Templar) - 1400
Mojo (Scout) - 2600
Warbringer (Reaver) - 1600
Gantrithor (Carrier) - 3800
Danimoth (Arbiter) - 4100
Aldaris (Templar) - 1400
Artanis (Scout) - 2400
Raszagal (Dark Templar) - 1300
Buildings:
Nexus - 1200
Robotics Facility - 900
Pylon - 150
Assimilator - 150
Observatory - 525
Gateway - 225
Photon Cannon - 300
Citadel of Adun - 600
Cybernetics Core - 300
Templar Archives - 750
Forge - 300
Stargate - 900
Fleet Beacon - 1050
Arbiter Tribunal - 1350
Robotics Support Bay - 375
Shield Battery - 150
Special Buildings:
Stasis Cell/Prison - 5000
Protoss Temple - 5000
Xel'Naga Temple - 5000
Warp Gate - 2000
NEUTRAL UNITS
◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦
Critters:
Rhynadon (Badlands) - 10
Bengalaas (Jungle) - 10
Scantid (Desert) - 10
Kakaru (Twilight) - 10
Ragnasaur (Ash World) - 10
Ursadon (Ice World) - 10
The best way to do it, I think, is to use the kill score condition or whatever it is. Only problem with this is when a player kills two units at once or something like that, especially if you want to give unit specific rewards, I don't think it'd be that big of a deal if you weren't giving unit specific rewards.
Here is a list of the score each unit gives when you kill it.
EDIT:
Damnit demon beat me.
None.
Can you by chance make an example trigger? Also I tried most of the triggers in kill 4 cash and they don't work for me
None.
Conditions
Current player Kills score is at least 25.
Foes has suffered at least 1 deaths of Broodling.
Actions:
Preserve Trigger.
Modify score for Current player: Subtract to 25 Kills.
Modify resources for Current player: Add 20 Minerals.
Modify deaths for Foes: Subtract 1 for Broodling.
make the trigger look exactly like that, then post it, because you're doing it wrong. Make sure you use "kills score" and not "kills".
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
Conditions
Current player Kills score is at least 25.
Foes has suffered at least 1 deaths of Broodling.
Actions:
Preserve Trigger.
Modify score for Current player: Subtract to 25 Kills.
Modify resources for Current player: Add 20 Minerals.
Modify deaths for Foes: Subtract 1 for Broodling.
make the trigger look exactly like that, then post it, because you're doing it wrong. Make sure you use "kills score" and not "kills".
Make sure any kills/deaths for current player and foes is set to 0 before you want these triggers to run. ;o
if you don't want to reward the player for previous kills.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
Wouldn't that just make the condition false every time?
None.
I know what he means. The deaths and score should be set to 0 at the end of every trigger cycle to make sure there is no overflow. Overflow can screw up the game. Or if you are only using these triggers at a specific time, the deaths should be set to 0 previous to that time.
death count can find who was killed how many times which is all you need to know in single player games.
In multiplayer games you need to also use kill score to find who has kills and who doesn't.
The only time this trigger doesn't work is when both players have the same kill score, and they killed different things. In this case the first player to run the triggers will be awarded points for killing whatever unit death is counted first in the kill triggers.
None.
Quote from name:Dem0nS1ayer
Make sure any kills/deaths for current player and foes is set to 0 before you want these triggers to run. ;o
This is what confused me. I get it now, thanks bro.
None.