[trigger] Money and Kill Help
-
- Terran Settler (Unemployed)
- Posts: 3
- Joined: Sat Jul 11, 2009 12:16 pm
[trigger] Money and Kill Help
For a map im doing i want to make it so that every kill that player gets X amount of minerals for killing. but when i tried it gave them a never ending flow of money. how do i fix this so that it give them money for 1 kill but keeps giving when they get more kills?
- thebrowncloud
- Zerg Hydralisk Nail Stylist
- Posts: 570
- Joined: Sat Jul 04, 2009 11:17 am
Re: [trigger] Money and Kill Help
Condition:
Current player kills exactly 1 (insert unit)
Action:
Give (insert number) minerals to current player
Reset kill count to 0 for current player
Preserve Trigger
Current player kills exactly 1 (insert unit)
Action:
Give (insert number) minerals to current player
Reset kill count to 0 for current player
Preserve Trigger
"Imagination is the beginning of creation. You imagine what you desire, you will what you imagine and at last you create what you will."
-George Bernard Shaw
-George Bernard Shaw
-
- Terran Refinery Attendant
- Posts: 26
- Joined: Tue Jun 16, 2009 11:13 am
Re: [trigger] Money and Kill Help
This method will only work if the player cannot kill two units at the same time. So if that works for your purposes, Trooper, by all means use it. However if the player has the opportunity to kill multiple units within a single trigger cycle, you will have to use an alternate method. There's a great article on it over at staredit.net's wiki.thebrowncloud wrote: Condition:
Current player kills exactly 1 (insert unit)
Action:
Give (insert number) minerals to current player
Reset kill count to 0 for current player
Preserve Trigger
http://www.staredit.net/wiki/Kills_To_Cash
-
- Terran Settler (Unemployed)
- Posts: 3
- Joined: Sat Jul 11, 2009 12:16 pm
Re: [trigger] Money and Kill Help
that dident work, they still got unlimited money after you kill just 1 thing.
-
- Terran Settler (Unemployed)
- Posts: 3
- Joined: Sat Jul 11, 2009 12:16 pm