• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

trigger conditions

  1. AFreerSky

    Looking to make a trigger that only applies to buildings after they've finished constructing.

    Hello, I haven't seen anything like this anywhere else so thought it'd worth the ask. I'm making triggers that apply when a building is clicked, and I've gotten everything to work how I want it. The only kicker is, I'd like to modify the trigger so it only takes effect if the building is not...
  2. xploder7

    [Solved] Random N units from unit group help

    I have the below trigger that is selecting 3 random units around my voidwalker and spawns a dummy unit to attack them. The dummy unit / attacking works fine. HOWEVER I can't for the life of me get the "Random N" to stop selecting duplicate units. I tried implementing the below code to no avail...
  3. HerlySQR

    What is more efficient way about add actions/conditions to a trigger?

    If I create a trigger I can normally do: function Actions takes nothing returns nothing //bla bla endfunction function Conditions takes nothing returns boolean return bool endfunction function Init takes nothing returns nothing set t=CreateTrigger call...
  4. jayjayduque

    Help for random sounds played when using spells.

    Hello, I wanted to create a spell that makes random sound quotes when it's being cast, but I don't know how to setup the trigger or the variables. I know a little about building triggers but when it comes to the variables, I'm kind of a newb.
  5. SouLost

    Specific unit in X range from another, condition

    Hi, I can't find a way to make this... Event: -Sylvanas dies (is in game from the start) Condition: -Arthas is in range, maybe 2500 (arthas is in a variable) Action: -wait 5 sec -Replace Sylvanas with her banshee verison under control of player 4 Thanks in advance
  6. Macadamia

    Extreme Optimization : use only Conditions ?

    Hi again everyone, hope you are all fine. I am still working on my TD, and as I have fixed the last bugs, removed my weather effects that refused to work (was just a fancy feature anyways), I started working on optimizing my map performance. Don't get me wrong, I am overall quite pleased with...