ScriptEvent:getTargetPosition
From Mod Wiki
Parameters
entity (cannot be null) target -- Entity to check the target position of.
Result
Supported By
sdDefenceTurret
Functionality
Returns the position in world space where the turret would target the specified entity.