• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Tricky Triggers

Status
Not open for further replies.
Level 21
Joined
Jan 5, 2005
Messages
3,515
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.
Top