Staredit Network

Staredit Network -> UMS Assistance -> Kills Set to zero problems.
Report, edit, etc...Posted by DeathLovesYou on 2006-03-28 at 14:30:41
Im making a Golems map for me and some friends to play and ive got the thing nearly done.

i have a place where you can select a couple things to help you survive a little longer. One of the locations i want to have it reset the kills to 0. for example:

say player 1 has 1500 kills
and player 2 has 2800 kills.
The number of kills needed to win the game is 3000.
player one can move a special unit to a location and reset the kills so that they read

player 1 0 kills
player 2 0 kills.

in other words nearly resetting the game entirely to give player 1 a second chance.

ive tried making a trigger like this:

Trigger
Players:
¤ All Players
Conditions:
¤ Current Player brings exactly 1 Selection Civ to Reset kills
Actions:
¤ Modify score for Player 1: set to 0 Kills
¤ Modify score for Player 2: set to 0 Kills
¤ Modify score for Player 3: set to 0 Kills
¤ Modify score for Player 4: set to 0 Kills
¤ Modify score for Player 5: set to 0 Kills
¤ Modify score for Player 6: set to 0 Kills
¤ kill all selection Civ for current player at Reset Kills
¤ Preserve Trigger


any help would be greatly appreciated.
Report, edit, etc...Posted by JaFF on 2006-03-28 at 14:51:39
& what is your problem ? it doesent work or what ?
Report, edit, etc...Posted by DeathLovesYou on 2006-03-28 at 14:55:48
QUOTE(Jammed @ Mar 28 2006, 02:51 PM)
& what is your problem ? it doesent work or what ?
[right][snapback]454888[/snapback][/right]


sorry yea the little civ dies. and the kills remain the same. I have a trigger set to always show leader board for kills and its a preserved trigger.
Report, edit, etc...Posted by MapUnprotector on 2006-03-28 at 14:57:19
You cannot set kills, you can only set kill SCORE.
Report, edit, etc...Posted by DeathLovesYou on 2006-03-28 at 15:00:09
QUOTE(--- @ Mar 28 2006, 02:56 PM)
You cannot set kills, you can only set kill SCORE.
[right][snapback]454891[/snapback][/right]


Then is there another way i can do this? or am i SOL.
Report, edit, etc...Posted by MapUnprotector on 2006-03-28 at 15:02:10
Yes, you use the kill score.

Everytime a player kills a unit he gets a certain amount added to his kill SCORE depending on the type of unit there is. You can add/subtract/set the player's kill SCORE.

There's several tutorials on this.

Here's some:

http://www.staredit.net/index.php?tutorial=81
http://www.staredit.net/index.php?tutorial=25
http://www.staredit.net/index.php?tutorial=108

Last one is a list of how much each unit gives.


If possible you may also instead of detecting how many kill a person have, use how many deaths the computer or other player has of the units that were being killed.

Such as player X has suffered 3000 deaths of men.

Although in your case I don't think it would work for your map.
Next Page (1)