• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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