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

Who can hlp me for a mode

Status
Not open for further replies.
  • Trigger
  • Events
    • Unit - A unit dies
  • Conditions
    • ((Owner of (Killing unit)) controller) Equal to User
  • Actions
    • Set IntegerVariable = (Player number of (Owner of (Killing unit)))
    • If (All conditions are true) then do (Actions) else do (Actions)
      • If - Conditions
        • Kills[IntegerVariable] Less than 20
      • Then - Actions
        • Set Kills[IntegerVariable] = (Kills[IntegerVariable] + 1)
      • Else - Actions
        • Game - Victory (Owner of (Killing unit)) (Show dialogs, Show scores)
Kills[] and IntegerVariable are Integer variables. For more info:
http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/variables-5896/
 
Status
Not open for further replies.
Top