Change Starting Units? (was: Help Please)

Mr.Tutorial

Hard in the Paint.
Reaction score
42
In the the trigger editor there is a built in trigger called initialization or something along those lines, just remove all those triggers, and go to the object editor find the building you want each player to have and place that building on your map. Then if you want other people to have it just double click on it and change the player to whatever you want.
 

DaRRoXX

New Member
Reaction score
5
Alternately, edit the first trigger to read something along these lines:
Code:
Melee Initialization
    Events
        Map initialization
    Conditions
    Actions
        Melee Game - Use melee time of day (for all players)
        Melee Game - Limit Heroes to 1 per Hero-type (for all players)
        Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
        Melee Game - Set starting resources (for all players)
        Melee Game - Remove creeps and critters from used start locations (for all players)
        Set pointvariable = (Player 1 (Red) start location)
        Unit - Create 1 Town Hall for Player 1 (Red) at pointvariable facing Default building facing degrees
        Set pointvariable = (Player 2 (Blue) start location)
        Unit - Create 1 Town Hall for Player 2 (Blue) at pointvariable facing Default building facing degrees
        Melee Game - Run melee AI scripts (for computer players)
        Melee Game - Enforce victory/defeat conditions (for all players)
        Custom script:   call RemoveLocation(udg_pointvariable)
copy and paste the 'set pointvariable, create unit' bit for as many players as you have, and change the building to whatever you want
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
You can use Loops though...

For IntegerA 1 to 12 (number of players)
Set L = Player Number IntegerA Start Location
Create units etc..
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top