Page MenuHomeFeedback Tracker

intersections broken?
New, NormalPublic

Description

Try to use intersection commands like

  • terrainIntersectASL
  • lineIntersects
  • lineIntersectsWith
  • lineIntersectsObjs
  • lineIntersectsSurfaces

But at the moment none of this commands give any result.
Must be broken during last week, because on 23. I'm working on script with the commands at 24. and they are working and now none of it is working.
I remember some smaller update during this time.
Tried it with Mods but also in vanilla.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce

Place two units and test command like

lineIntersectsWith [getpos unit_1, getpos _unit_2]

you will not get results even buildings are between.

Event Timeline

t.buur created this task.Dec 31 2016, 12:16 AM

Make sure you use ASL positions with intersect commands.
In your repro getpos won't work.