Solved:
Had to go to Data Editor and uncheck "Unit Cannot be Highlighted"
Now it works fine and we have an in-game traceline.
Use "Unhighlighted" to detect when no unit is in traceline. Actually, I should make a small thread about this in triggers.
Last edited Dec 01, 2012 by EdwardSolomon
EdwardSolomon Regular ShmoeI noticed that before you select a unit, the cursor changes from the racial pointer (terran/zerg/protoss) to a box of some sort. DOes anyone know how to detect when this effect occurs?
I thought perhaps it was "unit is hilighted" but that turned out to be something different. So I'm looking to either detect this event or find some way of determing which unit on the map is "pre-selected" before being clicked.
The reason is that I can rotate my camera to any position/angle/field of view and my cursor will light up when I hover over a unit. It seems that this is a built in traceline function, and I want to access it.