Staredit Network

Staredit Network -> UMS Assistance -> Counter Triggers
Report, edit, etc...Posted by Felagund on 2004-05-25 at 19:54:19
For the last time, I only posted this to get yer attention! Can you please tell me how to make the counter triggers? And remember, I've been left out in the dust for sooo long, but I'm making incredible strides : ) Just don't think me a n00b, I'm merely ignorant at this point : P
Report, edit, etc...Posted by Mini Moose 2707 on 2004-05-25 at 20:00:34
Simply mess around with the Set Deaths action and Deaths condition.

For example, a timer.

Conditions: Whatever activates the timer.
Actions: Set Deaths for [Player]: Add 1 Deaths of [unused unit]
-Preserve Trigger

Set Player to whatever player is using the timer. Use Current Player if you want each players seperate, or you can set a sort of global timer.

So, you'll be adding deaths for the unused unit 1 at a time for however long.
If you don't have hyper triggers, it will fire once every 2 seconds (2000 ms), or with hyper triggers 12.2 times every 2 seconds. Just adjust accordingly to make sure it works.

Then, use the deaths conditions for whatever the "timer" example is set for.

Of course, this isn't limited to just timers. You can use it for counters, variables, whatever. The possibilities are limited to that of the user's mind. tongue.gif
Report, edit, etc...Posted by (U)Bolt_Head on 2004-05-26 at 00:18:17
I replyed to this question on your other thread.
http://www.staredit.net/index.php?showtopic=2408#entry30381

lol figures i wrote much more than minimoose lol.
Report, edit, etc...Posted by Felagund on 2004-05-26 at 00:46:39
Dang it! I tried to make these "counters" but they don't do jack. Here is an example, I'll check back on Thursday.

Cond: Always
Action: Set Score for _ to 59 Custom

Cond: Always
Action: Modify Score for _: Add 1 Custom
-Preserve Trigger

Cond: _ Score is at least 60 Custom
Action: Set Timer to 180 Seconds
-Modify Score for _: Set 0 Custom
-Preserve Trigger

I did this so the spawn would start right away, but the first thing that catches me is that the timer isn't there. I'm so frustrated ranting.gif This is annoying; could you please correct what is wrong? Anyway, it is about 12:45 so I should get some shut-eye. See ya!
Report, edit, etc...Posted by (U)Bolt_Head on 2004-05-26 at 00:52:02
Are you using custom score for player 12?
Or is _ just a varable?
Did you read what i wrote on the other thread?
Report, edit, etc...Posted by Felagund on 2004-05-26 at 01:46:12
No, the _ stands for Player 12. Sorry for the inconvenience!
Report, edit, etc...Posted by (U)Bolt_Head on 2004-05-26 at 02:05:09
are you sure you can set custom score for player 12?
Next Page (1)