Staredit Network

Staredit Network -> UMS Assistance -> Help With Kill To Cash
Report, edit, etc...Posted by Carnorus on 2004-08-27 at 19:01:44
Condition
Player 1's Kill score is atleast 1

Action

Modify Score For Player 1: Subtract 1 Kills
Modify Resources: Add 10 minerals and vespene gas
Display for current player: Money Found!
Preserve Trigger


For some reason once i've killed a unit it just keeps going. It keeps adding money and gas, it doesn't stop. I would also like to know hwo to make the preserve trigger function execute faster if possible.(I read something about it and am unable to find it again)

Thanks in advance
Report, edit, etc...Posted by CheeZe on 2004-08-27 at 19:09:48
http://www.staredit.net/index.php?showtopic=4311

run a search first, then ask questions. that is actually one of the stickied posts wink.gif
Report, edit, etc...Posted by Carnorus on 2004-08-27 at 19:17:43
Oops, sorry about that!
Report, edit, etc...Posted by StarEditron 4000 on 2004-08-27 at 19:18:15
OMG!

There have been over 1000 topics like this but here is how i do it!
(With part of your trigger used)



Conditions:
Player 1 kills at least 1 men
Actions:
Modify Score for Player 1 Subtract 5000 Kills Score
Modify Resources: Add 10 minerals and vespene gas
Display for current player: Money Found!
Preserve Trigger

The trick is that kills is NOT
the same as kills score. Kills score varies, but
taking away 5000 kills score points makes it so
that any 1 unit you kill only gives you 10 minerals/gas.
Report, edit, etc...Posted by Silent[wolf] on 2004-08-27 at 19:19:40
ok notice how u said add 1 mineral or w/e and you didnt put the score count back to 0.. u gotta sat Players-any
Conditions-players kill score is at least 1
actions- modify recources(give however many u want)
Set Kill score to 0
display- Money Found!!
Preserve Trigger Thats how u do it pokey.gif
Report, edit, etc...Posted by Carnorus on 2004-08-27 at 19:44:12
Yeah, I followed the tutorial that was pinned but all it did was make me get money faster but not actually stop. =/
Report, edit, etc...Posted by LegacyWeapon on 2004-08-27 at 20:47:49
make sure its
QUOTE
Condition:
Current Player's kill score is atleast 1

Action:
Subtract yaydayaydayad


not Current player has killed at least one men otherwise that wont be affected by the subtracting of the kill score
Report, edit, etc...Posted by Carnorus on 2004-08-27 at 22:10:06
dwfirebolt with your advice I got closer, but not much. I tried to find a way to debug so I made a leaderboard of the kills so I could see what was happening when I killed a unit and such.

This is what happens:
Player kills any unit (kills + 1) (worked)

player has atleast 1 kill(worked)
Subtract 1 kill (didn't work)
display money found (worked)
Got 10 minerals and vespene gas (worked)

I really don't understand why it's being such a bad trigger sad.gif
Report, edit, etc...Posted by DT_Battlekruser on 2004-08-27 at 22:13:31
Hmph. All triggers like this are listed except for ste to 0, the easiest of the simple methods.

CONDTIONS:
-Current Player's kill score is at least 1

ACTIONS:
-Set current player's kills score to 0
-add 1 custom score for current player
-preserve trigger

That way custom ~= kills.

Please ignore all other systems here. If this is not what you want, refer to the stickied FAQ.
Report, edit, etc...Posted by Carnorus on 2004-08-28 at 08:59:31
QUOTE(Vindexus @ Aug 28 2004, 01:14 AM)

LOL, Anyways, thanks guys I finally got it. crazy.gif
Report, edit, etc...Posted by DT_Battlekruser on 2004-08-28 at 11:44:59
Good, now somebody can lock this and MAYBE THE BLASTED NOOBS WILL LEAN A LESSON! mad.gif
Report, edit, etc...Posted by .Coko[CK] on 2004-08-28 at 14:13:59
Should i confuse them by showing how to do it backwards and make it add up to certain amounts rather than subtract and still work?
Report, edit, etc...Posted by DT_Battlekruser on 2004-08-28 at 19:26:41
No just hope the mods lock this topic. AND DONT POST IN IT
Report, edit, etc...Posted by nyczdigga on 2004-08-29 at 02:01:38
Theres a program called "sctrigger", it makes money triggers for you under a minute. I believe its in downloads in this site.
Report, edit, etc...Posted by Urmom(U) on 2004-08-29 at 13:15:49
the easy way to do it if u want to record how many kills they have is to download sc trigger. i dont have a link sorry but its real easy to use. wink.gif
Report, edit, etc...Posted by Staredit.Net Essence on 2004-08-29 at 13:19:26
But wat about killing a specifici unit to get a amount of money
Report, edit, etc...Posted by Stereo on 2004-08-29 at 13:43:17
Then you just use it so it says
Conditions:
kill at least (1-100) zergling
Actions:
add custom

No preserve trigger, same for other units..
Report, edit, etc...Posted by .Coko[CK] on 2004-08-29 at 13:48:00
Actually you can just edit it to give you money and reset for each death of the unit, and repeat it up to five deaths of each kind, easy really! Oh with the Preserve Trigger
Report, edit, etc...Posted by Staredit.Net Essence on 2004-08-29 at 13:55:01
just give me the trigger on a download
Report, edit, etc...Posted by DT_Battlekruser on 2004-08-29 at 18:50:32
God damnit, he said his problem was solved. I'm going to kill nyczdigga for constantly reviving old topics. There is no point in discussing this any further. I PRAY TO GOD THIS TOPIC WILL BE LOCKED.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-08-29 at 19:43:46
take chill pill dude they just need help
Report, edit, etc...Posted by DT_Battlekruser on 2004-08-29 at 21:26:54
QUOTE(Carnorus @ Aug 28 2004, 05:59 AM)

Who needs help? The topic starter said he had his problem solved then an idiot named nyczdigga came along and started revivbng a dead topic and posting useless incormation.
Next Page (1)