_insertnamehere
Chieftain
- Joined
- Oct 27, 2014
- Messages
- 2
Is there a LUA event that fires when a specific orbital unit is launched?
I have a building that provides a unique orbital unit when constructed. If the orbital unit is alive and in the orbital layer, the building should provide extra strategic resources (say +2 Titanium). If the orbital unit is dead, those resources should no longer be produced.
I think I have the implementation together, assuming SerialEventUnitDestroyed still exists and I can use it to remove the building yield, but I need a function that is called when the unique orbital unit is launched into the orbital layer.
Any help with this would be greatly appreciated.
I have a building that provides a unique orbital unit when constructed. If the orbital unit is alive and in the orbital layer, the building should provide extra strategic resources (say +2 Titanium). If the orbital unit is dead, those resources should no longer be produced.
I think I have the implementation together, assuming SerialEventUnitDestroyed still exists and I can use it to remove the building yield, but I need a function that is called when the unique orbital unit is launched into the orbital layer.
Any help with this would be greatly appreciated.