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

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