Right now building positions are only a positional array of [x,y,z]. By adding a rotation value by default, indicating the most reasonable direction to face (e.g. out of the window, towards a door if inside and against a wall), it would significantly improve garrisoning towns/buildings via script and make bloated calculations unnecessary.
Description
Description
Details
Details
- Legacy ID
- 972580595
- Severity
- None
- Resolution
- Open
- Reproducibility
- N/A
- Category
- Config
Additional Information
If the BIS default site modules are unpacked, you can see that they added the rotary values to all building positions by hand, and placed the units accordingly.
Example:
"Land_Cargo_Tower_V3_F", [
[99.5325,3.79597,-4.62543,-271,3285],
]
Then the unit is set using
BIS_currentDude setDir direction _building + (_x select 3);