LPlate2
Warlord
- Joined
- Dec 27, 2018
- Messages
- 299
Hi,
Is there a simple way to set the orientation of an improvement on creation?
e.g. If I create a unique improvement, which is to be a continental bridge linking two adjacent landmasses, I want the bridge to run in the direction from one continent to the other.
Is there a quick coding way to make that happen?
If all else fails, would it work to have 7 additional dummy (bgraphical = 1) versions of the unique improvement, with the only difference being that the associated graphic is rotated by 45 degrees more with each one and then use python to select the improvement with the correct orientation when the improvement is built?
Is there a simple way to set the orientation of an improvement on creation?
e.g. If I create a unique improvement, which is to be a continental bridge linking two adjacent landmasses, I want the bridge to run in the direction from one continent to the other.
Is there a quick coding way to make that happen?
If all else fails, would it work to have 7 additional dummy (bgraphical = 1) versions of the unique improvement, with the only difference being that the associated graphic is rotated by 45 degrees more with each one and then use python to select the improvement with the correct orientation when the improvement is built?