Staredit Network

Staredit Network -> UMS Assistance -> simple triger
Report, edit, etc...Posted by Mrnice007 on 2005-07-06 at 02:54:19
Hi someone would think that this is soo simple that i am spaming or else...
Simple trigher , if anyone knows HGMA HydraGhostMarinesArchon defense he knows what i try to say. In this map is still growing LeaderBoard of Kills and per 10 kills player get 1 gas, and i tryied to see how it was done in this scenario but it's protectet so i asking you about help, how to make that per 10 kills without decresing the number of leadearborad killl player get some extra unit, if someone had seen in many map's this tactic civ per some kills is a standard but it is combined also with others like gas or ore,
please help me i am making a own version of builder's&fighter's....... helpsmilie.gif helpsmilie.gif crazy.gif confused.gif cry.gif
Report, edit, etc...Posted by DT_Battlekruser on 2005-07-06 at 03:02:48
You can't subtract kills or do anything with triggers to change the number on a LEADERBOARD: KILLS scoreboard. Kills score, however, is different. See the Tutorials Database on various methods of giving cash for kills (KTC methods for short.)
Report, edit, etc...Posted by Oo.Vic.oO on 2005-07-06 at 08:51:59
u can do every kills it will add custom score n when it reach 10 it subtract 10 customs n add 1 gas. The leaderboard will stay the same.

Conditions:
Current player kill score is at least 1

Actions:
Set kill score for current player to 0
Add 1 custom score for current player
Preserve Trigger




Conditions:
Current player custom score is at least 10

Actions:
Set custom score for current player to 0
Add 1 gas for current player
Preserve Trigger
Report, edit, etc...Posted by O)FaRTy1billion on 2005-07-06 at 14:53:12
If you know the max amount of units that will be killed in the game, you can use SCTrigger then import it into your map.
Report, edit, etc...Posted by Centreri on 2005-07-07 at 12:33:11
Yah, sc trigger should do it. Just dont make it an interval of 1, or it might lag ure game. (i think)
Report, edit, etc...Posted by LegacyWeapon on 2005-07-07 at 13:08:26
That has nothing to do with lagging your game... Why would it lag the game?
Report, edit, etc...Posted by DT_Battlekruser on 2005-07-07 at 13:54:20
SCTrigger should be burned. It is the instrument of lazy people who don't want to learn how to do triggers. Honestly, why plug your map with a thousand triggers when two should suffice?
Report, edit, etc...Posted by Gigins on 2005-07-07 at 15:00:22
All the joke about res/point per kill is with death count not the kill count!

example. You are P1 and com is P2! to get 1 gas per 10 kills use this triger-

player1>player2 sufers at least 10 deaths of unit>give 1 gas to player1, modify deaths count of unit for player2 subtract 10, preserve triger.

This will give you 1 gas per 10 kills. I works in all situations.
Report, edit, etc...Posted by Oo.Vic.oO on 2005-07-07 at 15:16:21
QUOTE
player1>player2 sufers at least 10 deaths of unit>give 1 gas to player1, modify deaths count of unit for player2 subtract 10, preserve triger.

that will make every1 get the same $$....

QUOTE
Conditions:
Current player kill score is at least 1

Actions:
Set kill score for current player to 0
Add 1 custom score for current player
Preserve Trigger




Conditions:
Current player custom score is at least 10

Actions:
Set custom score for current player to 0
Add 1 gas for current player
Preserve Trigger
Report, edit, etc...Posted by Gigins on 2005-07-07 at 15:38:44
QUOTE(Oo.Vic.oO @ Jul 7 2005, 10:16 PM)
that will make every1 get the same $$....
[right][snapback]255949[/snapback][/right]


Yea but with your triger you cant select a unit to kill
Report, edit, etc...Posted by l)ark_13 on 2005-07-07 at 15:57:29
You dont need a specific unit to kill in defense maps. Ther are levels and many different units.
To elaborate on Oo.Vic.oO's idea, you could add death counts so instead of subtracting custom score you could just subtract deaths (of an unused unit) and you could keep your score:

Conditions:
Current player kill score is at least 1

Actions:
Set kill score for current player to 0
Add 1 custom score for current player
Add 1 death of "unused unit" for current player
Preserve Trigger
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Conditions:
Current player suffered at least 10 deaths of "unused unit"

Actions:
Set deaths of "unused unit" to 0
Add 1 gas for current player
Preserve Trigger
Report, edit, etc...Posted by Gigins on 2005-07-07 at 16:02:55
QUOTE(l)ark_13 @ Jul 7 2005, 10:57 PM)
Conditions:
Current player kill score is at least 1

Actions:
Set kill score for current player to 0
Add 1 custom score for current player
Add 1 death of "unused unit" for current player
Preserve Trigger

[right][snapback]255996[/snapback][/right]


one correction "Set kill score for current player subtract 1" because if he kill 2 units at once he will only get 1 death not 2!
Report, edit, etc...Posted by l)ark_13 on 2005-07-07 at 16:15:36
No, it cant be subtract. The kills just keep going up (and same with money). I just tested it. Im not sure why (the mathamatics and SC lingo) why it does this, maybe someone else explains tongue.gif
Report, edit, etc...Posted by slayer766 on 2005-07-07 at 16:26:19
QUOTE(DEAD @ Jul 7 2005, 03:02 PM)
one correction "Set kill score for current player subtract 1" because if he kill 2 units at once he will only get 1 death not 2!


One correction kill scores cannot be subtracted.
Report, edit, etc...Posted by Gigins on 2005-07-07 at 16:37:52
QUOTE(slayer766 @ Jul 7 2005, 11:26 PM)
One correction kill scores cannot be subtracted.
[right][snapback]256023[/snapback][/right]


Then I am a very special person because I can look!

[attachmentid=11359]

Yea this must be some kind of error. lol. beta.gif
Report, edit, etc...Posted by Heimdal on 2005-07-07 at 17:07:43
Kill scores can be subtracted. Kill counts cannot.
Report, edit, etc...Posted by Oo.Vic.oO on 2005-07-07 at 17:47:22
u dont subtract 1 kill score because each units u killed will give different kill scores.
For Example:
Killed a broodling = 25 kill scores
Killed a Kerrigan = 4000 kill scores

U'll have 2 set it 2 0

QUOTE
One correction kill scores cannot be subtracted.

Kill scores CAN be subtracted but kills cant
Report, edit, etc...Posted by Gigins on 2005-07-07 at 23:22:05
QUOTE(Oo.Vic.oO @ Jul 8 2005, 12:47 AM)
u dont subtract 1 kill score because each units u killed will give different kill scores.
For Example:
Killed a broodling = 25 kill scores
Killed a Kerrigan = 4000 kill scores

U'll have 2 set it 2 0
Kill scores CAN be subtracted but kills cant
[right][snapback]256088[/snapback][/right]


finally yahoo.gif . Now thats why you have to use death count. As I said before. It always works. Who is the king? I am kicking.gif !
Report, edit, etc...Posted by slayer766 on 2005-07-07 at 23:26:39
QUOTE(Heimdal @ Jul 7 2005, 04:07 PM)
Kill scores can be subtracted.  Kill counts cannot.
[right][snapback]256045[/snapback][/right]


Yeah thats what I meant right there. lol
Report, edit, etc...Posted by Gigins on 2005-07-07 at 23:44:29
QUOTE(slayer766 @ Jul 8 2005, 06:26 AM)
Yeah thats what I meant right there. lol
[right][snapback]256441[/snapback][/right]


And thats why you writed "One correction kill scores cannot be subtracted." who is the king kicking.gif ?

Report, edit, etc...Posted by Oo.Vic.oO on 2005-07-07 at 23:58:59
lol...u can still do this

QUOTE
Conditions:
Current player kill score is at least 1

Actions:
Set kill score for current player to 0
Add 1 custom score for current player
Preserve Trigger




Conditions:
Current player custom score is at least 10

Actions:
Set custom score for current player to 0
Add 1 gas for current player
Preserve Trigger
Next Page (1)