Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [Resolved] Looping kills rewards
[Resolved] Looping kills rewards
This topic is locked. You can no longer write replies here.
Dec 7 2009, 11:55 am
By: Alzarath  

Dec 7 2009, 11:55 am Alzarath Post #1

Praetor

Hey, I'm sure I'm making this more complicated than it has to be, but all I want, is for you to continuously get minerals every X kills.

Now, I don't need gas, so I've decided to use it as a counter. What I have tried to do is...

Trigger 1:
Quote
CONDITIONS:
- Current player kills exactly 1 men.
ACTIONS:
- Modify resources for Current player: Add 1 Vespene Gas.
- Modify score for Current player: Set 0 Kills.
- Preserve trigger.

Trigger 2:
Quote
CONDITIONS:
- Current player accumulates exactly 5 Vespene Gas.
ACTIONS:
- Modify resources for Current player: Add 5 Minerals.
- Modify resources for Current player: Set to 0 Vespene Gas.
- Display for current player: Congratulations, you have leveled up!
- Preserve trigger.


Now, I'm certain I see at least 1 mistake in here.. I think "Modify score for Current player: Set 0 Kills." refers to a leaderboard.

If it's not clear, what I'm trying to do is get it so every 5 kills, you get 5 minerals. It does so by adding gas, and when I get 5 gas, I get the reward.

Some help would be wonderful.

Post has been edited 1 time(s), last time on Dec 7 2009, 1:34 pm by Artanis186.



None.

Dec 7 2009, 1:34 pm Alzarath Post #2

Praetor

UPDATE: Problem solved by this post: http://www.staredit.net/189606/



None.

Dec 7 2009, 2:25 pm Norm Post #3



If you ever want to expand on Kill score rewards, gimme a PM. Depending on what you're using it for, I have quite the epic system I can share with you.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:16 am]
NimoStar -- ever wanted to play melee in installation tileset? Now you can https://staredit.net/topic/18929/
[02:29 am]
Symmetry -- TFW you google a problem and find the answer in a post you made yourself
[01:46 am]
Oh_Man -- How can i change my name here to put [TFE] on the end will thr website let me
[06:02 pm]
Zoan -- of course it isn't full understanding. You could ask "is the mechanism by which this counterexample blows up the ONLY mechanism possible for an initial configuration to blow up?"
[05:48 pm]
Zoan -- ppl do it all the time in PDEs
[05:47 pm]
Zoan -- Heinermann
Heinermann shouted: it also didn't solve that problem but hey as long as the investors are pleased
Constructing a counterexample is answering the question: "Is Navier Stokes well posed?" in the negative
[05:44 pm]
NudeRaider -- I only heard about it, didn't any news article, so what did it do then?
[05:43 pm]
Heinermann -- it also didn't solve that problem but hey as long as the investors are pleased
[05:39 pm]
NudeRaider -- I have no idea tbh. All I know no human was ever able to solve it, but there's at least a few that beat portal ;)
[05:32 pm]
Zoan -- Navier Stokes is not that esoteric I thought
Please log in to shout.


Members Online: Ultraviolet