Talk:Logic lineto: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(logicentities.cpp)
mNo edit summary
Line 6: Line 6:
:It also has a '''Start''' and '''End''' fallback to measure '''Sound''' if the logical entity fails.
: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)
:This entity wasn't used in HL2 and I haven't tested it, yet.--[[User:Mark WiseCarver|wisemx]] 04:05, 31 Oct 2005 (PST)
it's not that useful because you can't determine which entity is the end ent&mdash;'''[[User:Ts2do|ts2do]]''' <sup>([[User talk:Ts2do|talk]])</sup> 05:54, 31 Oct 2005 (PST)

Revision as of 06:54, 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)

it's not that useful because you can't determine which entity is the end ent—ts2do (talk) 05:54, 31 Oct 2005 (PST)