View Single Post
11/23/22, 10:59 AM   #1
hylomorph
Join Date: Nov 2022
Posts: 2
Get the coordinates of siege engines

Does anyone know if you can get the world position of a siege engine (ballista, etc) placed by the player?

I know the following does not work:

With the reticle over the siege engine, the following only returns (0, 0, 0):

Lua Code:
  1. GetUnitRawWorldPosition("reticleover")

While interacting with the siege engine, this also returns (0, 0, 0):

Lua Code:
  1. GetUnitWorldPosition("interact")
  Reply With Quote