In a recent dev build update (~a week ago) the priority of CursorTarget was changed to always prioritize buildings. This has caused issues with a variety of scripts.
- Legacy ID
Move a soldier inside a building and use 'hint str typeof cursortarget' in the debug menu while pointing at him.
Still broken, now on stable. This issue breaks everything that relies on cursorTarget inside and near buildings and must be fixed ASAP.
Looking at ground weaopn holder with weapon, I have inventory actions but cursor target still reports "Inn garden"
Looking bit higher, now cursor target is ground weapon holder as it should have been in both cases
Looking through 3 objects: Laptop, Camping table and Garden Inn. Cursor target reports Garden Inn, laptop functions are inaccesible.
Now there is nothing but laptop in line of sight, cursor target reports it properly