Why don't you look at the worker from the GLA?
(you can try changing your AIUpdateInterface module with DozerAIUpdate)
Originally Posted by: Gameanater
It works right now I do not know if there is a side effect from changing that. Not sure but will see.
Thanks again.
Originally Posted by: Mr_Hymn_
I think that probably is an unavoidable side-effect of changing it. I guess if a unit has the capability to repair a structure AND garrison it, the game will always default to the unit repairing it.
Not sure if this is what you want, but you could try something like this -
Give the Ranger an ability like the Comanche's Rocket Pods but for the Tertiary weapon you'd need to give him, give him a weapon that has a very short range and that fires an invisible object that doesn't actually do any damage (or something like 0.000001 damage), and have the weapon create an OCL with the building. The result should be a Ranger "building" something, albeit instantly. Give the ability a long cooldown or something for balance so the Ranger can't spam buildings.
The downsides of this approach would be:
- Ranger wouldn't be able to repair the building.
- He could also potentially build something in unpassable terrain or water. I don't think there's a way to fix that.
- The "construction" of the building would always be instant, unless you maybe give the "weapon" projectile a really really slow locomotor... And then he could probably walk away, and a few seconds later, his building poofs out into existence.
Originally Posted by: Zatsupachi