Talk:Logic lineto: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(logicentities.cpp)
Line 2: Line 2:
So whats the use of this entity?
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?--[[User:Hurricaaane|Hurricaaane]] 02:27, 31 Oct 2005 (PST)
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?--[[User:Hurricaaane|Hurricaaane]] 02:27, 31 Oct 2005 (PST)
:I don't see this being related to func_breakable_surf.
:In <code>logicentities.cpp</code> 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.--[[User:Mark WiseCarver|wisemx]] 04:05, 31 Oct 2005 (PST)

Revision as of 05:05, 31 October 2005

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)