IGNORE_ME |
Ignores the me entity. |
IGNORE_YOU |
Ignores the
you entity (see remark)
and does not set the you pointer. |
IGNORE_FLAG2 |
A7.05 Ignores all entities with FLAG2 set. |
IGNORE_PASSABLE |
Ignores all passable blocks and entities. |
IGNORE_PASSENTS |
Ignores passable model and sprite entities, but still detects passable maps, or passable terrain.
|
IGNORE_WORLD |
Ignores all level blocks and terrains. |
IGNORE_MAPS |
Ignores all map entities. |
IGNORE_MODELS |
Ignores all models. |
IGNORE_SPRITES |
Ignores all sprites. |
IGNORE_PUSH |
Ignores
entities
with
a lower push or same group value than the given entity. For ignoring certain entity groups, call c_ignore before c_trace. |
IGNORE_CONTENT |
Ignores the content of the trace origin. The function is
faster, but water entities (see above) are not detected. |
USE_POLYGON |
Uses a polygonal hull of all target entities
even if their
POLYGON flag is not set.
Only for entities with a collision model, i.e. when the WED PASSABLE flag was not set and collision_mode not deactivated at entity creation. |
USE_BOX |
Uses the bounding ellipsoid of the me
entity as a 'probe' for tracing, rather than a line. For this, the ellipsoid can be set up temporarily in the desired shape such as a sphere or a flat disk. A vertical trace with USE_BOX
can be used for detecting the distance to the ground,
keeping the entities' feet on the floor while ignoring small holes or grates.
|
ACTIVATE_SHOOT |
Enables EVENT_SHOOT triggering
of the hit entity. |
ACTIVATE_SONAR |
Enables EVENT_SONAR triggering
of the hit entity. |
SCAN_TEXTURE |
Retrieves the texture name,
vertex number, flags, brightness and light color of the hit surface, and sets it in the hit struct. Mutually
exclusive with USE_BOX.
If nothing was hit, the parameters are not set. The texture name can be used to check
the kind of floor below an entity. |