Changing Starting Units.

darkmik07

New Member
Reaction score
2
Please help me to change my starting units and i want when i buy a hero it will spawn in specific place that i want.Also i want to learn on how to spawn creeps. i already know how to spawn them but i dont know on how will they move to a new region


how will i do that?
 

Raizn

New Member
Reaction score
2
event: a unit enters Region X1
condition: owner of entering unit is Player Y and/or of unit type Z
action: order entering unit to moveto (or attackmovebla) Region X2

And so on.

if there is a tavern in the map where you buy a hero from you can create a region there and set a trigger like this:

event: unit enters region HeroTavern
condition: entering unit is a hero equal to true <- boolian
action: move entering unit instantly to Region HeroSpawn.

if not and you need to build an altar you can change the event to a unit enters playable map area. but in that case you might have two regions for Team 1 and Team 2 and change the condition.

hope your questions got answered.

bye
raizn
 

madd_999

New Member
Reaction score
14
if you meen with strating units the wips/peons/ghouls/peasants and the necropolis/tree of life/townhall then you need to remove the map init trigers in teh trigger editor
 

Never_Quit

New Member
Reaction score
16
open the trigger editor and remove the Melee Game set of triggers.

create an action (under the map initializes event of the initialization trigger) that says:

unit- create unit (of unit type) at player red starting point

Edit:

you can also to a loop which includes all players

Player Group - All players do actions
unit create unit of type at player (picked player) starting point
 
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