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

Kill Limit

Status
Not open for further replies.
Level 5
Joined
Jul 30, 2012
Messages
93
How can i set the kill limit via write -kill xx ???

I have a just this:
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • ((Triggering player) is an ally of Player 1 (Red)) Equal to True
    • Then - Actions
      • Set killt1 = (killt1 + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • killt1 Greater than 74
        • Then - Actions
          • Trigger - Turn off Hero Respawn <gen>
          • Game - Display to (All players) the text: Akislia Takımı Oy...
          • Unit - Pause all units
        • Else - Actions
    • Else - Actions
This 74 part is constant.I wanna change it which i write.
 
Level 29
Joined
Oct 24, 2012
Messages
6,543
how to set the value of -kill xx when player enters it in game

  • set value
    • Events
      • Player - Player 1 (Red) types a chat message containing (Substring(-kill, 6, 10)) as A substring
    • Conditions
    • Actions
      • Set killVariable[(Player number of (Triggering player))] = (Integer((Substring((Entered chat string), 6, 10))))
      • Game - Display to (All players) the text: (String(killVariable[(Player number of (Triggering player))]))
 
Status
Not open for further replies.
Top