forked from OpenRA/OpenRA
-
Notifications
You must be signed in to change notification settings - Fork 1
Give a free unit when building is placed
Petrenko edited this page Aug 12, 2011
·
11 revisions
This site will tell you how to add a free unit when a structure is placed.
(Like the free harvester you get after placing the refinery)
Requires: Nothing
Conflicts with: Everything that is blocking the unit when placed.
FreeActor: Actor: HARV # Name of actor InitialActivity: FindResources # What the unit should do. SpawnOffset: 1,2 # Offset relative to structure-center Facing: 64 # Which direction the unit should face
Warning: If this is no harvester it will break, when you add "FindResources" to "InitialActivity"
Note: You can also make structures appear free.
By copying the trait and name it FreeActor@1,FreeActor@2,... you can get more then one unit.