• 🏆 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!

help help i need help! really stupid problem =D

Status
Not open for further replies.
Level 3
Joined
Dec 27, 2008
Messages
36
how can i make kill limits? like first to 30 kills win.
i tried to find a tutorial on the site but i didnt find it. sorry if this question was answered earlier..
 
  • Kills
  • 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)
    • If (Conditions) are true then (Actions) else (Actions)
      • If - Conditions
        • Kills[Player Number of (Owner of (Killing unit))] Equal to 30
      • Then - Actions
        • Game - Victory (Owner of (Killing unit)) (Show dialogs, Show scores)
      • Else - Actions
Kills is an "Integer" variable (Actions> Set Variable) and with "array" ticked.
 
Status
Not open for further replies.
Top