Talk:Logic lineto

From Valve Developer Community
Revision as of 05:05, 31 October 2005 by Mark WiseCarver (talk | contribs) (logicentities.cpp)
Jump to navigation Jump to search

I can see then the logic_lineto can only be linked to a Func_breakable_surf , but even if it can only be linked to it, the <vector> values are not corresponding (Shatter <vector> Shatter the window. The input is a vector. First two coordinates are the X,Y center of the shattering (as values from from 0-1). The third coordinate is the radius of the shatter, in inches.""). So whats the use of this entity? As long as a Logic_compare can't compare vector values and there is no entity that can say "get the second value in the vector", I can't see it, can you explain?--Hurricaaane 02:27, 31 Oct 2005 (PST)

I don't see this being related to func_breakable_surf.
In logicentities.cpp it measures the lineto distance from one logical entity to another.
It also has a Start and End fallback to measure Sound if the logical entity fails.
This entity wasn't used in HL2 and I haven't tested it, yet.--wisemx 04:05, 31 Oct 2005 (PST)