Staredit Network

Staredit Network -> UMS Assistance -> Kill to Buy System?
Report, edit, etc...Posted by bionic templar on 2004-12-14 at 10:30:58
can make kill to buy system confused.gif confused.gif
Report, edit, etc...Posted by AqoTrooper on 2004-12-14 at 11:21:07
your quastion wasn't very clear, but I'll have to assume that you wanted a player to recive money for killing units.
to do so, you create a trigger with (example:) "player 1's kills score is at least 1" and actions will be: "set score for player 1 to 0", "give player 1 5 minerals", "preserve trigger".
'player 1' and '5 minerals' were just an example for player and money.

if you want a different amount of money for every unit, you need to know how much score you get for killing every unit.
for example, you recive 100 kill points for killing a marine.
so you create a similar trigger only with "player 1's kills score is exactly 100".

if you wanna know what score you get for every unit you can:
1. download arensal3 and check yourself
2. be patient untill I edit my post and link you to a list of all of them.

[edit] here ya go: http://home.earthlink.net/~bluemicrobyte/starcraft/id23.html
Report, edit, etc...Posted by LegacyWeapon on 2004-12-14 at 17:42:29
We have tutorials for everything!
http://www.staredit.net/index.php?act=tuto...lls%20to%20Cash

http://www.staredit.net/index.php?act=tuto...20Kill%20Scores
Report, edit, etc...Posted by Kow on 2004-12-15 at 21:05:30
I took it as a way to buy things, like you kill a unit to select it, and it spawns for you, and recreates the unit?

Just have it:
Trigger
Conditions:
¤ Bring exactly 0 UNIT to location (EG, you killed it)
Actions:
¤ Whatever effect you want (EG, spawn)
¤ Create 1 UNIT at location (Recreating the unit)


I hope that helps. But judgeing from the length in time from the last post (Yesterday), I assume that either: 1. He/she is not been here for a day or two Or 2. His/her poorly worded question was answered the way he/she wanted, but left no reply...

Edit: Made a little clearer of what i meant.
Report, edit, etc...Posted by Urmom(U) on 2004-12-15 at 21:25:54
but kow that wont work if there are multiple players in the game. the trigger isnt able to detect who killed it unless you used a cash to kill system but instead of giving minerals you subtract them
Report, edit, etc...Posted by The_Blackness on 2004-12-18 at 08:46:19
couldnt you just adjust it so that a condition was

P1 killed exactly 1 any unit at location x

create 1 any unit at location x

does that work?
Report, edit, etc...Posted by ChaosRyder on 2004-12-18 at 09:35:08
No, this will only work if you don't put preserve triggers on, but then you will have to do a lot of triggers of the same thing. And, If you put preserve trigger on, It will keep creating units. Here's an Example:

Player1=Bying Player
Player 2= Shop
Marine=Unit that is being bought
BuyMarine=Location Of the Marine
Create Marine=Location were the marine will apear after being bought.

Trigger
Players:
¤ Player 1
Conditions:
¤ Player 1 Kill scorof Marines is exacly 1. (Optional. Use it only if its a multiplayer map)
¤ Player 2 Commands exacly 0 Marine at BuyMarine.
Actions:
¤ Create 1 Marine for Player 1 At Create Marine
¤ Create 1 marine for player 2 at Buy Marine
¤ Set Kill Score of Marine for Player 1 To 0 (Optional. Use it only if its a multiplayer map)
Next Page (1)