Revision Difference
util.QuickTrace#519101
<function name="QuickTrace" parent="util" type="libraryfunc">
<description>Performs a trace with the given origin, direction and filter.</description>
<realm>Shared and Menu</realm>
<file line="55-65">lua/includes/extensions/util.lua</file>
<args>
<arg name="origin" type="Vector">The origin of the trace.</arg>
<arg name="endpos" type="Vector">The end point of the trace, relative to the start.
This is the direction of the trace times the distance of the trace.</arg>
<arg name="filter" type="Entity" default="nil">Entity which should be ignored by the trace. Can also be a table of entities or a function - see <page>Trace</page>.</arg>
<arg name="filter" type="Entity" default="nil">Entity which should be ignored by the trace. Can also be a table of entities or a function - see <page>Structures/Trace</page>.</arg>
</args>
<rets>
<ret name="" type="table">Trace result. See <page>TraceResult</page>.</ret>
<ret name="" type="table">Trace result. See <page>Structures/TraceResult</page>.</ret>
</rets>
</function>