Staredit Network

Staredit Network -> UMS Assistance -> [SOLVED] Kills and Spawning
Report, edit, etc...Posted by exkill on 2006-05-25 at 17:19:05
If I want to make a trigger where every time you kill one unit you get one unit, how do you do it. I tried making the trigger so the Condition was kill exactly one unit, but it doesn't work after one time. Thank You
Report, edit, etc...Posted by n0b0dy- on 2006-05-25 at 17:55:58
Here is 1 way to do it. Note you will need 4 players, and 4 computer players


Lets say that p1 always kills player 5

Conditions:
Player 5 has suffered 1 deaths of (MARINE Or any other unit)

Actions:
Modify Deaths for player 5 subtract 1 for (MARINE or any other unit)
Create 1 Marine at Location Spawn
Preserve trigger

For other methods, just go to the tutorials I don't wanna type it all out =/
Report, edit, etc...Posted by Mp)7-7 on 2006-05-28 at 07:05:42
It should look a little more like this!

Players
-All Players

Conditions
-Current player's kill score is at least 1

Actions
-Create 1 'unit' for current player at 'location'\
-Wait 75 milliseconds
-Set current players kill score to 0
-Preserve Trigger
Report, edit, etc...Posted by JaFF on 2006-05-28 at 07:07:26
QUOTE(7-7 @ May 28 2006, 02:05 PM)
It should look a little more like this!

Players
-All Players

Conditions
-Current player's kill score is at least 1

Actions
-Create 1 'unit' for current player at 'location'\
-Wait 75 milliseconds
-Set current players kill score to 0
-Preserve Trigger
[right][snapback]494351[/snapback][/right]


Why on Earth do you need the "wait" action ?
Report, edit, etc...Posted by Mp)7-7 on 2006-05-28 at 07:10:33
You kinda dont, but I have noticed problems with out it before, dont ask me why because I dont know, but I have had trigger errors with the wait so I just put 75 or 100 in there!
Report, edit, etc...Posted by LegacyWeapon on 2006-05-28 at 10:40:24
You don't need the wait.

Use the Kills to Cash tutorial but instead of Cash, make it spawn units.
http://www.staredit.net/index.php?tutorial=81

>Solved.
Next Page (1)