Since the Marksmen update, the nearestBuilding command is no longer able to detect barracks buildings (Land_i_Barracks_V1_F, Land_i_Barracks_V2_F). Instead, it will just return the 2nd closest building. {F26150}
Description
Description
Details
Details
- Legacy ID
- 633239372
- Severity
- None
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- Scripting
Event Timeline
Comment Actions
Hello,
Try reproducing the issue using on of these codes:
_nBuilding = nearestBuilding player;
_nBuilding = nearestBuilding position player;
And if the issue is still present let me know.
Thank you.
Comment Actions
There, screenshot proof for v1.42 stable. Taken at barracks next to the ATC tower at Altis Airport. Does the same thing for Selakano barracks, and the barracks in the middle of Stratis also.