Trained unit position?

Some1Sneakin

New Member
Reaction score
5
I got a really wierd problem. Its hard to explain but ill try.
When a unit is trained from a building is there a way to set where he will spawn then? Its a vampirism map and its anoying the way they spawn.

X = Point where the unit spawns after trained
Y = Point were next unit spawns after 1st have been trained
Z = 3rd unit etc
O = Tree


For me they spawn like this when trained:
- - - - - - - -Z
- - - - - - - -Y
------------|X O
------------| O
---Building--| O
------------| O
------------| O

I want the to spawn like this (moved down abit):


------------| O
------------| O
-Building----|Z O
------------|Y O
-------------X O

How do do that? Because in other vamps they always spawn like i want it, but not in mine.
 

Sirroelivan

Gunnerkrigg Court
Reaction score
95
Doens't changing the rally point determine where the unit is spawned?

Otherwise, use a trigger to move the trained unit.

Code:
Spawn
    Events
        Unit - A unit Finishes training a unit
    Conditions
        (Unit-type of (Trained unit)) Equal to YourUnitType
    Actions
        Unit - Move (Triggering unit) instantly to YourPoint
 

Some1Sneakin

New Member
Reaction score
5
Nevermind i solved it. All i needed to do was change the collision size of the building. Now they spawn exactly were i want them to ^^
 
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