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

Basic Melee Functions/Triggers

Not open for further replies.
Level 1
Sep 16, 2014
Hello, Im rather new to Warcraft 3 modding and im trying to make a Personal map (to practice my editing skills) But i also want to be able to play the map with a buddy

I have a rough idea for what i want to do with it

I want it to be melee style but more for longer games 1v1

I had this idea for like more than one builder Like one for defences and such and one for unit buildings and shop.

If someone could link me to a tutorial or something it would be much appreciated

I basically need basic installization triggers, but i want to make new ones due to the fact of nthe melee game options seem a bit restrictive
Last edited:
Level 24
Aug 1, 2013
First of all you need to change the regular peasants, peons, wisps and acolytes.
Remove the stuff that you dont want them to build.

Then you create a new unit for each race (based of the regular unit) and give that unit the war-based buildings.

Make sure that you can train the second builders somehow.

For the map initialization.

set TempPlayerGroup = all players
pick each player in TempPlayerGroup.
If player race == human
set TempLocation = starting location
create 1 town hall for player at TempLocation
create 4 peasant for player at TempLocation
create 1 OP-Builder for player at TempLocation
custom script: call RemoveLocation(udg_TempLocation)

do that for every race.
Make sure that you will put the stuff like player group, picked player and starting location in variables
you have to remove the player leak by
custom script: call DestroyForce(udg_TempPlayerGroup)

if you actually use the normal units, noone will notice that you triggered it ;)
Not open for further replies.