Page MenuHomeFeedback Tracker

Preplaced Land_vn_hut_07s are not returned when using nearestObject "building"
Closed, ResolvedPublic

Description

When using the nearestObject command, preplaced objects of type "Land_vn_hut_07" are never returned when filtering by "building" or "house".
It is possible to return the objects when filtering by the empty string.
If you place a hut in the editor, then it returns as expected, even when filtering by "building" and "house".

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Linux x64
Category
General
Steps To Reproduce

Load up Cam Lao Nam in the Eden editor.
Find a "Land_vn_hut_07" on the map, e.g. [17038.3, 11796.8].
Keep it in view, a top down perspective helps.
Open the debug console.
Under watch, input the lines:

  1. screenToWorld getMousePosition nearestObject ""
  2. screenToWorld getMousePosition nearestObject "building"
  3. screenToWorld getMousePosition nearestObject "house"

When line one shows an object of type vn_hut_07, lines two and three never show that same object.
Huts of other types will be consistent across the three lines.

Additional Information

I have been told that this is to be expected due to differences between terrain and editor placed objects and how the nearestObject command works, but I have never seen any one building behave like this and it would be wrongdoing to let it stay like this.

Event Timeline

Tinter created this task.Sep 4 2021, 1:51 AM
Bob_Murphy closed this task as Resolved.Nov 13 2021, 12:21 PM
Bob_Murphy claimed this task.
Bob_Murphy added a subscriber: Bob_Murphy.

Hello,

We've picked up your issue and the fix has been implemented in the latest S.O.G. update. Thanks for helping us making the game better!
In the unfortunate event that (part of) the issue persists, please open a new ticket and include a link to this one.

Best Regards,
Bob Murphy