Basic Melee Functions/Triggers

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 ;)