Blizzard Sector
trigger not working help :( - Printable Version

+- Blizzard Sector (https://www.blizzsector.co)
+-- Forum: Blizzard Games (https://www.blizzsector.co/forum-8.html)
+--- Forum: Starcraft (https://www.blizzsector.co/forum-94.html)
+---- Forum: Starcraft Maps (https://www.blizzsector.co/forum-62.html)
+---- Thread: trigger not working help :( (/thread-45480.html)



trigger not working help :( - AlexSchezar - 02-19-2009

so am making a map where every 25 kills you get one probe but the way iv done the trigger once you get 25 kills it just spams probes here the trigger i used

player 1 kills extracly 25 of any unit

create 1 protoss probe at spawn chooser here for player 1.apply properties
preserve trigger

i dont want i to spam probes i only want to have 1 probe every 25 kills please help Sad


trigger not working help :( - wazzacky - 02-24-2009

AlexSchezar Wrote:so am making a map where every 25 kills you get one probe but the way iv done the trigger once you get 25 kills it just spams probes here the trigger i used

player 1 kills extracly 25 of any unit

create 1 protoss probe at spawn chooser here for player 1.apply properties
preserve trigger

i dont want i to spam probes i only want to have 1 probe every 25 kills please help Sad

not an afficianado but i think the problem is that ure preserve trigger preserves the creation of a probe. I think the only solution is (there probably is another solution but i don't know) to remove preserve trigger, and tediously do the player 1 kills exactly 25,
than exactly 50, than exactly 75. etc etc. Also befoer that try moving the preserve trigger to the top, I believe triggers are effected by the ones above it.


trigger not working help :( - Warslut - 03-03-2009

You only do preserve trigger if you want the trigger to be used repeatedly once it's already been used. You can't actually tell the game to give a probe every 25 kills. You have to make a new trigger for every 25 kills yourself. It's time consuming.

Preserve trigger is good for things like... turning Creep Colonies into Sunkens, for example.

Wazzacky has it right. Get rid of preserve trigger and make a new one for every 25 kills yourself. Another point I noticed when you're making a lot of triggers. Add a note to them, so it doesn't take up so much room in your window and easier to find certain ones when looking to modify.


trigger not working help :( - Fykins - 03-03-2009

You can actually do this rather easily I believe:

Make a condition so when (player) kills a unit 1 point is added to kill score.
This can be done with the KILL condition and the SET SCORE action.
(You may only need the bottom trigger, I'm a little rusty since using the Warcraft 3 map editor for so long)

Next trigger:
For the condition use the SCORE condition:
Make it so when (player's) kills score is 25

Then for the action use the create unit however you need
Then use the SET SCORE action to set the kills score back to 0
PRESERVE TRIGGER

I'm about 99% that should work.