trace_hull

Синтаксис

native trace_hull(const Float:origin[3], hull, ignoredent = 0, ignoremonsters = 0, const Float:end[3] = NULL_VECTOR);

Употреба

origin
Trace start point (and end point if not specified)
hull
Hull type
ignoredent
Entity index that trace will ignore
ignoremonsters
Entity ignore type
end
Trace end point, pass NULL_VECTOR to use start point

Описание

Fires a trace hull on a specified origin or between two origins.

Забележка

This native writes to the global engine module trace handle. Additional
trace results can be retrieved using traceresult().

Забележка

For a list of valid hull types see the HULL_* constants in
hlsdk_const.inc

Забележка

For a list of valid ignore types see the *IGNORE_* constants in
hlsdk_const.inc

Връщаща стойност

Custom bitflag sum of relevant trace results
StartSolid (1), AllSolid (2) and InOpen (4)