HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Units building units?

08-11-2002, 03:55 PM#1
Athifos
Is there a way to have a unit (ie Peon) build a unit (ie Huntress)? And I need the actual unit so I can't just change the model.
08-11-2002, 07:24 PM#2
Thunder-Hunter
just go units trained, and then choose your huntress... also u will act like a building so u cant move while u train it. hope this helps...
08-11-2002, 07:25 PM#3
Thunder-Hunter
and if u mean like the huntress acts like a buildiing, then just go to the huntress and target it as a structure...
08-11-2002, 11:16 PM#4
Athifos
It doesn't work...I still get the same crappo error when I try to build her
08-12-2002, 04:53 AM#5
Guest
If you don't have many units to do it's easy. Create a custome structure (say a farm) and set its "Model" to be the Huntress. Change name/icon/description/gold/etc... too. Then for "buildings" that the peon builds, put the custom building in there. Run a trigger->

Event - > Unit owned by Player(X) constructs a structure

Condition -> Structure == Huntress

Action ->
Remove (EventResponse- Contructed Unit)
Create (Huntress) at Position(Position of Unit(Constructed Unit)))

If this doesn't work, you might want to create a TempX and TempY so that the action reads

Action ->
Set TempX == X position of (Position(Position of Unit(Constructed Unit)))
Set TempY == Y position of (Position(Position of Unit(Constructed Unit)))Remove (EventResponse- Contructed Unit)
Create (Huntress) at Position(Coordinates(TempX,TempY))
08-12-2002, 05:34 AM#6
Klintel
Wow, i never thought of doing that, I have the same problem as Athifos, but thanks ill try that as well.
08-13-2002, 01:12 AM#7
Athifos
Thanks...I'll try it. The main reason I need the direct Huntress model is because I need its bouncing glaives on a building.
08-13-2002, 02:43 AM#8
Nemesis1234
To make it simpler you could replace

"Remove (EventResponse- Contructed Unit)
Create (Huntress) at Position(Position of Unit(Constructed Unit))) "

with

"Replace (EventResponse- Contructed Unit) with Huntress"