• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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