I built a map using tiles generated using the `Generate Instances From Icon-state` option. When I try and get the location of a tile it always returns (1, 1, 1)
Update: When the turf has a custom area in the same tile it returns the correct location, when it has the default area it return (1, 1, 1)
Code Snippet (if applicable) to Reproduce Problem:
turf
Click()
..()
world<<"Turf [loc.x], [loc.y], [loc.z]" // Prints "Turf 1, 1, 1" no matter what turf I click on even when on a different z level
Expected Results:
It should return the correct location
Actual Results:
Return a location of (1, 1, 1)
Does the problem occur:
Every time
The zyx of an area always returns the zyx of the bottom left most position of the area.
You are mis-understanding the purpose of the loc var and misapplying it in this code.
This is not a bug, this is a id-10-t error please correct the error condition sitting between the keyboard and the computer chair.