HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Units

02-09-2004, 03:08 AM#1
stevil
Do you know how when a unit is trained it comes out of the building always at the same spot?

I rotated the building and the units come out at the same spot as before but they come out of the back of the barracks...


So my question is... is there a way of changing where a unit comes out of a building
02-09-2004, 03:13 AM#2
Shimrra
Not that I'm aware of. Doesn't it change in-game whenever you change the rally point any way?
02-09-2004, 06:49 AM#3
RodOfNOD
Add 2 triggers

Melee Initialization
Events
Map initialization
Conditions
Actions
Set PresetPoint = (Position of Peasant 0004 <gen>)
Unit - Remove Peasant 0004 <gen> from the game

DoIt
Events
Unit - A unit Finishes training a unit
Conditions
(Unit-type of (Trained unit)) Equal to Footman
Actions
Unit - Move (Trained unit) instantly to PresetPoint


Have that peason be where u want him to pop.

If the building that builds is built by the player (wow thats complex) then u will have to use an offset from the building itself.

Good Luck.
02-09-2004, 11:21 AM#4
stevil
ok thanks i give it a try