trigger help plz

  • Thread starter Unregisteredperson
  • Start date
U

Unregisteredperson

Guest
I know many people have asked this before, but I've looked at a lot of posts about it but none of the suggestions I found worked. But anyways it's about ore per kill. I got the ore per kill two work by using these triggers

It's like this

Condition:
-Current Player's kills score is at least 50
Action:
-Modify current player's resources: add 50 ore
-Preserve trigger

and

Condition:
-Current player's kills score is at least 50
Action:
-Modify kills score for current player: set to 0
-Preserve Trigger

I know I could've put it into 1 trigger, but I figured seperating them would make it work better. The problem I have is, if you kill more than one unit at the same time it would only add ore for 1 unit. I also tried the always wait 200 milliseconds trigger with it. It helped a little but it still skips if you kill more than 1 at a time. Also I need to know the kill points for most protoss ground units and some air units. Please help.
 

Ilendil

Most Respected Former Admin
Reaction score
1
You need to use subtract kills score instead of set kill score.
That way it will keep all the kills alotted and give minerals for each.
 
U

Unregisteredperson

Guest
nevermind I got it fixed....I saw a post that showed a trigger that worked

Conditions:
-(Enemies) suffers at least 1 deaths of zealot
-Current Player kills at least 1 zealot
Action:
-Modify death counts for (enemies): subtract 1 for zealots
-Modify resources for current player: add 50 ore
-Preserve Trigger

although I do not remember who posted it, and where the post is, credits to that person
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top