• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Tricky Triggers

Status
Not open for further replies.
didnt i do the spawning and moving trigger?

ok this would do it

Code:
Untitled Trigger 001
    Events
        Unit - A unit Dies
    Conditions
    Actions
        Set kills[(Player number of (Owner of (Killing unit)))] = (kills[(Player number of (Owner of (Killing unit)))] + 1)
        For each (Integer A) from 1 to 10, do (If (kills[(Integer A)] Equal to 700) then do (Game - Victory (Player((Integer A))) (Show dialogs, Show scores)) else do (Do nothing))

you need to make a variable array which is an integer for 10 players, or however many players you want if you change the trigger. i didnt understand what you meant by the forces stuff so you might need to add a condition saying that grey is not included.
 
Status
Not open for further replies.
Back
Top