|
|
#1 |
|
Posts: n/a
|
Got kind of a weird problem here...
I'm trying to get a bunch of buildings to train a specific unit every 10 seconds. Event: Time - Every 10 seconds of game time Conditions: (none) Actions: Unit - Order (building) to train/upgrade to a (unit) (clone of above action with each building) Is what I last tried, but it does nothing. The building is capable of producing the unit, the unit costs no food, gold or lumber. I tried setting the building to player red to see if an audible clue would happen - nothing. The building just sits there. I tried changing the action to say all buildings of type on the entire map, but that didn't work. The only other action that sounds like it could work is issue build order, but that one didn't work either. Is there some special trick to getting buildings to auto-build? If it matters at all, another trigger set their rally point to a region - but that's done long before the auto-build trigger kicks in. |
| Sponsored Links - Login to hide this ad! |
|
|
|
|
#2 |
|
User
|
Why not simply create units at the location of the building?
__________________Event: Time - Every 10 seconds of game time Conditions: (none) Actions: Unit - Create 1 Footman at (Position of (Select Unit) facing Default Facing degrees |
|
|
|
|
#3 |
|
Posts: n/a
|
I wanted the barracks to actually build the units, but I guess I'll just create the units and play the barracks' training animation. Still seems more than a little bit stupid that it won't just build them normally.
|
|
|
#4 | ||
|
Posts: n/a
|
Quote:
You have probaly forgot to either give the building player enough money or to make the unit free. Quote:
Code:
Unit Creation
Events
Time - Every 10.00 seconds of game time
Conditions
Actions
Set Temp_Point = (Position of Barracks 0047 <gen>)
Unit - Create 1 Footman for Player 1 (Red) at Temp_Point facing Default building facing degrees
Custom script: call RemoveLocation( udg_Temp_Point ) |
||
![]() |
| Thread Tools | Search this Thread |
|
|
|
Donate |