• 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.

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