Staredit Network

Staredit Network -> UMS Assistance -> Getting $$ for kills
Report, edit, etc...Posted by HellCat on 2005-03-07 at 04:27:11
In my lurker defense map (not very original, I know) I want 1 mineral for each kill. I can fix that... But when i try to apply hyper triggers it all goes wrong helpsmilie.gif

Trigger
Players:
¤ Force1
Conditions:
¤ Current players kill score is at least 1
Actions:
¤ Modify resources for current player: add 1 mineral
¤ Modify score for current player: substract 1 kill
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ and so on...
¤ Preserve trigger


What the heck is wrong with that confused.gif Maybe i got all this hyper trigger thingy wrong? helpsmilie.gif PLZ help me! helpsmilie.gif
Report, edit, etc...Posted by sckor on 2005-03-07 at 05:24:14
first of all,, you don't put hyper waits, in the same trigger.
Second,

it says,
QUOTE
Trigger
Players:
¤ Force1
Conditions:
¤ Current players kill score is at least 1
Actions:
¤ Modify resources for current player: add 1 mineral
¤ Modify score for current player: substract 1 kill
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ Wait 0 milliseconds
¤ and so on...
¤ Preserve trigger


What you do is

Players:
Force1

Conditions
Current Kill score is atleast 1

Actions
Add 1 mineral for current player
SET kill score to 0
Preserve trigger.

That's for the $$

Now, hypers, NOte to put them under a player with no other waits

Players
Player #

Condition
always

Action
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Wait 0
Preserve trigger

Atleast make 3 of these.
You should look around more. There are tutorials for both of your questions.
Report, edit, etc...Posted by HellCat on 2005-03-07 at 06:31:58
so, the hyper trigger affects all triggers of the assigned players? That would be really go0o0o0od! tongue.gif
Report, edit, etc...Posted by LegacyWeapon on 2005-03-07 at 06:34:45
It affects all triggers of all players.

To set kill score it's under the action of 'SCORE'
There are tutorials on this.

Kills to Cash
http://www.staredit.net/index.php?tutorial=81
Report, edit, etc...Posted by HellCat on 2005-03-07 at 13:56:50
YAY! IT'S WORKING! uberwoot.gif thx for the help...
Report, edit, etc...Posted by offensivestyle on 2005-03-07 at 20:24:40
Wow, I wanted this help too, thx, but I didint see it in the turorial blink.gif
Report, edit, etc...Posted by RexyRex on 2005-03-08 at 19:03:21
If that tutorial isn't helping you....
http://www.staredit.net/index.php?download=1287

The only problem with your triggering, sckor, is that splash damage kills are not accounted for. Any kills made inbetween zero and 11.9 milliseconds aren't counted, and this is per kill pinch.gif.

QUOTE(HellCat)
YAY! IT'S WORKING! w00t.gif thx for the help...
Good smile.gif.
Locked (In my own little world tongue.gif)
Report, edit, etc...Posted by Mr.Kirbycode774 on 2005-03-09 at 00:54:42
If tutorials don't help, go to experimental maps in the download section and look up the ones called "Perfect kills to cash method".
Next Page (1)