> > > >

traceresult | engine | AMX X Documentation

Includes

    1. Stocks
    1. Natives
    2. Forwards
    1. Natives
    2. Stocks
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    2. Forwards
    1. Natives
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    2. Forwards
    1. Natives
    1. Natives
    2. Forwards
    1. Natives
    2. Forwards
    1. Stocks
    1. Natives
    1. Natives
    2. Stocks
    1. Stocks
    1. Stocks
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    1. Stocks
    1. Natives
    1. Natives
    1. Natives
    2. Forwards
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    2. Forwards
    1. Natives
    2. Stocks
    1. Natives
    1. Natives
    1. Natives
    2. Stocks
    1. Natives
    1. Stocks
    1. Natives
    1. Natives
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Stocks
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    1. Natives
    2. Forwards
    3. Stocks
    1. Natives
    1. Natives
    2. Stocks
    1. Stocks

traceresult

Syntax
									native traceresult(type, any:...);
								
Variable Description
type
Result to retrieve
...
Depending on the result type a different number of
additional parameters should be provided:
   int      - Returns the result integer value directly, no
              additional parameters required
   float    - Stores the result float value into the
              variable provided as the second parameter
   vector   - Copies the result vector to the Float:array[3]
              provided in the second parameter

Description
Retrieves a result from the global engine module trace handle.

Note
For a list of trace results available see the TR_* constants in
engine_const.inc.

Note
Usage examples:
value = traceresult(TR_AllSolid);
traceresult(TR_Fraction, floatvalue);
traceresult(TR_EndPos, vector);

Return
Changes depending on the result type: int - Returns the result integer value float - Returns 1 vector - Returns 1
> > > >