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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Zycorax, Dem0n