Staredit Network

Staredit Network -> UMS Assistance -> [SOLVED]Triggers not working
Report, edit, etc...Posted by Nibra on 2006-06-16 at 14:44:03
The map im making is similar to a golems map. You keep getting guys and they upgrade at 500 and 1000 kills. But they upgrade at like 20 kills for everyone

ex of a trigger

CONDITIONS:
-Player 1 brings exactly 1 stray llama(civ) to 'ed selector'
-Player 1 kill score is at most 500
ACTIONS:
-Creat 1 Ed at 'Player 1' for player 1
-preserve trigger

up grade trigger

CONDITIONS:
-Player 1 brings exactly 1 stray llama(civ) to 'ed selector'
-Player 1 kill score is at least 500
-Player 1 kill score is at most 1000
ACTIONS:
-Creat 1 Ed w/ toast at 'Player 1' for player 1
-preserve trigger
Report, edit, etc...Posted by Urmom(U) on 2006-06-16 at 14:50:47
Kill score and Kills are different. Use the condition "Kills". Kill score is the value of a unit for being killed.
Report, edit, etc...Posted by Shocko on 2006-06-16 at 14:51:14
ok i dont really understand your format so ill set it out how i THINK you want it.

Curent player Score(custom) is atleast 500
Current player brings atleast 1 civ to upgrade

Set Custom to 0 (optional)
remove 1 civ
create 1 uber civ (or w.e)
preservetrigger

now you might wonder why i chose custom instead of kills
different units have different kill values so when you get a kill on a marine for example it is worth 75

if that is what you want then change custom to kills

to enhance your custom you can do it in a number of ways these are 2 ways...

Current player kills atleast 1 unit

Set kills for current player to 0
set custom for current player to add 1 (or w.e)
preserve trigger

Or

Current player kills atleast 1 marine(for example)
p7 suffers atleast 1 death of marine (for example)

set kills for marine to 0
set death for marine to 0
set custom for current player to +1 (or w.e)
preservetrigger

if you still need help feel free to pm me on here OR on SC (Shocko[xM]@USEast)
Report, edit, etc...Posted by Nibra on 2006-06-16 at 15:03:24
ok thx urmom i think that was my problem.
Next Page (1)