Skip to content
Deyan Dobromirov edited this page Feb 11, 2021 · 54 revisions

E2Helper.Descriptions["addEntHitOnly(xft:e)"] = "Adds the entity to the flash trace internal only hit list" E2Helper.Descriptions["addEntHitSkip(xft:e)"] = "Adds the entity to the flash trace internal ignore hit list" E2Helper.Descriptions["addHitOnly(xft:sn)"] = "Adds the option to the flash trace internal hit only list" E2Helper.Descriptions["addHitOnly(xft:ss)"] = "Adds the option to the flash trace internal hit only list" E2Helper.Descriptions["addHitSkip(xft:sn)"] = "Adds the option to the flash trace internal ignore hit list" E2Helper.Descriptions["addHitSkip(xft:ss)"] = "Adds the option to the flash trace internal ignore hit list" E2Helper.Descriptions["dumpItem(xft:n)"] = "Dumps the flash trace to the chat area by number identifier" E2Helper.Descriptions["dumpItem(xft:s)"] = "Dumps the flash trace to the chat area by string identifier" E2Helper.Descriptions["dumpItem(xft:sn)"] = "Dumps the flash trace by number identifier in the specified area by first argument" E2Helper.Descriptions["dumpItem(xft:ss)"] = "Dumps the flash trace by string identifier in the specified area by first argument" E2Helper.Descriptions["getBase(xft:)"] = "Returns the flash trace base attachment entity if available" E2Helper.Descriptions["getChip(xft:)"] = "Returns the flash trace auto-assigned expression chip entity" E2Helper.Descriptions["getCollideGroup(xft:)"] = "Returns flash trace trace collision group enums COLLISION_GROUP" E2Helper.Descriptions["getCopy(xft:)"] = "Returns flash trace copy instance of the current object" E2Helper.Descriptions["getCopy(xft:e)"] = "Returns flash trace copy instance of the current object using other entity" E2Helper.Descriptions["getCopy(xft:en)"] = "Returns flash trace copy instance of the current object using other entity and length" E2Helper.Descriptions["getCopy(xft:ev)"] = "Returns flash trace copy instance of the current object using other entity and origin" E2Helper.Descriptions["getCopy(xft:evn)"] = "Returns flash trace copy instance of the current object using other entity, origin and length" E2Helper.Descriptions["getCopy(xft:evv)"] = "Returns flash trace copy instance of the current object using other entity, origin and direction" E2Helper.Descriptions["getCopy(xft:evvn)"] = "Returns flash trace copy instance of the current object using other entity, origin, direction and length" E2Helper.Descriptions["getCopy(xft:n)"] = "Returns flash trace copy instance of the current object using other length" E2Helper.Descriptions["getCopy(xft:v)"] = "Returns flash trace copy instance of the current object using other origin" E2Helper.Descriptions["getCopy(xft:vn)"] = "Returns flash trace copy instance of the current object using other origin and length" E2Helper.Descriptions["getCopy(xft:vv)"] = "Returns flash trace copy instance of the current object using other origin and direction" E2Helper.Descriptions["getCopy(xft:vvn)"] = "Returns flash trace copy instance of the current object using other origin, direction and length" E2Helper.Descriptions["getDir(xft:)"] = "Returns flash trace direction vector" E2Helper.Descriptions["getDirLocal(xft:)"] = "Returns flash trace world direction vector converted to base attachment entity local axis" E2Helper.Descriptions["getDirLocal(xft:a)"] = "Returns flash trace world direction vector converted to angle local axis" E2Helper.Descriptions["getDirLocal(xft:e)"] = "Returns flash trace world direction vector converted to entity local axis" E2Helper.Descriptions["getDirWorld(xft:)"] = "Returns flash trace local direction vector converted to base attachment entity world axis" E2Helper.Descriptions["getDirWorld(xft:a)"] = "Returns flash trace local direction vector converted to angle world axis" E2Helper.Descriptions["getDirWorld(xft:e)"] = "Returns flash trace local direction vector converted to entity world axis" E2Helper.Descriptions["getDisplaceFlags(xft:)"] = "Returns the flash trace trace-result DispFlags DISPSURF bitmask" E2Helper.Descriptions["getEntity(xft:)"] = "Returns the flash trace trace-result Entity entity" E2Helper.Descriptions["getFraction(xft:)"] = "Returns the flash trace trace-result Fraction in the interval [0-1] number" E2Helper.Descriptions["getFractionLS(xft:)"] = "Returns the flash trace trace-result FractionLeftSolid in the interval [0-1] number" E2Helper.Descriptions["getFractionLen(xft:)"] = "Returns the flash trace trace-result Fraction multiplied by its length distance number" E2Helper.Descriptions["getFractionLenLS(xft:)"] = "Returns the flash trace trace-result FractionLeftSolid multiplied by its length distance number" E2Helper.Descriptions["getHitBox(xft:)"] = "Returns the flash trace trace-result HitBox number" E2Helper.Descriptions["getHitContents(xft:)"] = "Returns the flash trace trace-result hit surface Contents CONTENTS bitmask" E2Helper.Descriptions["getHitGroup(xft:)"] = "Returns the flash trace trace-result HitGroup group ID number" E2Helper.Descriptions["getHitNormal(xft:)"] = "Returns flash trace trace-result surface HitNormal vector" E2Helper.Descriptions["getHitPos(xft:)"] = "Returns the flash trace trace-result HitPos location vector" E2Helper.Descriptions["getHitTexture(xft:)"] = "Returns the flash trace trace-result HitTexture string" E2Helper.Descriptions["getLen(xft:)"] = "Returns flash trace length distance" E2Helper.Descriptions["getMask(xft:)"] = "Returns flash trace trace hit mask enums MASK" E2Helper.Descriptions["getMatType(xft:)"] = "Returns the flash trace trace-result MatType material type number" E2Helper.Descriptions["getNormal(xft:)"] = "Returns the flash trace trace-result Normal aim vector" E2Helper.Descriptions["getPhysicsBoneID(xft:)"] = "Returns the flash trace trace-result PhysicsBone ID number" E2Helper.Descriptions["getPlayer(xft:)"] = "Returns the flash trace auto-assigned expression chip player" E2Helper.Descriptions["getPos(xft:)"] = "Returns flash trace origin position" E2Helper.Descriptions["getPosLocal(xft:)"] = "Returns flash trace world origin position converted to base attachment entity local axis" E2Helper.Descriptions["getPosLocal(xft:e)"] = "Returns flash trace world origin position converted to entity local axis" E2Helper.Descriptions["getPosLocal(xft:va)"] = "Returns flash trace world origin position converted to position/angle local axis" E2Helper.Descriptions["getPosWorld(xft:)"] = "Returns flash trace local origin position converted to base attachment entity world axis" E2Helper.Descriptions["getPosWorld(xft:e)"] = "Returns flash trace local origin position converted to entity world axis" E2Helper.Descriptions["getPosWorld(xft:va)"] = "Returns flash trace local origin position converted to position/angle world axis" E2Helper.Descriptions["getStart(xft:)"] = "Returns flash trace trace start position sent to trace-line" E2Helper.Descriptions["getStartPos(xft:)"] = "Returns the flash trace trace-result StartPos vector" E2Helper.Descriptions["getStop(xft:)"] = "Returns flash trace trace stop position sent to trace-line" E2Helper.Descriptions["getSurfPropsID(xft:)"] = "Returns the flash trace trace-result SurfaceProps ID type number" E2Helper.Descriptions["getSurfPropsName(xft:)"] = "Returns the flash trace trace-result SurfaceProps ID type name string" E2Helper.Descriptions["getSurfaceFlags(xft:)"] = "Returns the flash trace trace-result SurfaceFlags SURF bitmask" E2Helper.Descriptions["isAllSolid(xft:)"] = "Returns the flash trace trace-result AllSolid flag" E2Helper.Descriptions["isHit(xft:)"] = "Returns the flash trace trace-result Hit flag" E2Helper.Descriptions["isHitNoDraw(xft:)"] = "Returns the flash trace trace-result HitNoDraw flag" E2Helper.Descriptions["isHitNonWorld(xft:)"] = "Returns the flash trace trace-result HitNonWorld flag" E2Helper.Descriptions["isHitSky(xft:)"] = "Returns the flash trace trace-result HitSky flag" E2Helper.Descriptions["isHitWorld(xft:)"] = "Returns the flash trace trace-result HitWorld flag" E2Helper.Descriptions["isIgnoreWorld(xft:)"] = "Returns the flash trace trace IgnoreWorld flag" E2Helper.Descriptions["isStartSolid(xft:)"] = "Returns the flash trace trace-result StartSolid flag" E2Helper.Descriptions["newFTrace()"] = "Returns flash trace relative to the world by zero origin position, up direction vector and direction length distance" E2Helper.Descriptions["newFTrace(n)"] = "Returns flash trace relative to the world by zero origin position, up direction vector and length distance" E2Helper.Descriptions["newFTrace(v)"] = "Returns flash trace relative to the world by origin position, up direction vector and direction length distance" E2Helper.Descriptions["newFTrace(vn)"] = "Returns flash trace relative to the world by origin position, up direction vector and length distance" E2Helper.Descriptions["newFTrace(vv)"] = "Returns flash trace relative to the world by origin position, direction vector and direction length distance" E2Helper.Descriptions["newFTrace(vvn)"] = "Returns flash trace relative to the world by origin position, direction vector, length distance" E2Helper.Descriptions["noFTrace()"] = "Returns invalid flash trace object" E2Helper.Descriptions["rayAim(xft:nnn)"] = "Aims the flash trace ray at a given position using three numbers" E2Helper.Descriptions["rayAim(xft:v)"] = "Aims the flash trace ray at a given position using a vector" E2Helper.Descriptions["rayAmend(xft:nnn)"] = "Amends the flash trace ray direction using three numbers" E2Helper.Descriptions["rayAmend(xft:v)"] = "Amends the flash trace ray direction using a vector" E2Helper.Descriptions["rayAmend(xft:vn)"] = "Amends the flash trace ray direction using vector and magnitude" E2Helper.Descriptions["rayDiv(xft:n)"] = "Contracts the flash trace ray with a number" E2Helper.Descriptions["rayDiv(xft:nnn)"] = "Contracts the flash trace ray each component individually using three numbers" E2Helper.Descriptions["rayDiv(xft:v)"] = "Contracts the flash trace ray each component individually using a vector" E2Helper.Descriptions["rayMove(xft:)"] = "Moves the flash trace ray with its own direction and magnitude" E2Helper.Descriptions["rayMove(xft:n)"] = "Moves the flash trace ray with its own direction and magnitude length" E2Helper.Descriptions["rayMove(xft:nnn)"] = "Moves the flash trace ray with displacement as three numbers" E2Helper.Descriptions["rayMove(xft:v)"] = "Moves the flash trace ray with displacement vector" E2Helper.Descriptions["rayMove(xft:vn)"] = "Moves the flash trace ray with direction vector, magnitude length" E2Helper.Descriptions["rayMul(xft:n)"] = "Expands the flash trace ray with a number" E2Helper.Descriptions["rayMul(xft:nnn)"] = "Expands the flash trace ray each component individually using three numbers" E2Helper.Descriptions["rayMul(xft:v)"] = "Expands the flash trace ray each component individually using a vector" E2Helper.Descriptions["remBase(xft:)"] = "Removes the base attachment entity of the flash trace" E2Helper.Descriptions["remEntHit(xft:)"] = "Removes all the entities from the flash trace internal hit list" E2Helper.Descriptions["remEntHitOnly(xft:)"] = "Removes all the entities from the flash trace internal only hit list" E2Helper.Descriptions["remEntHitOnly(xft:e)"] = "Removes the entity from the flash trace internal only hit list" E2Helper.Descriptions["remEntHitSkip(xft:)"] = "Removes all the entities from the flash trace internal ignore hit list" E2Helper.Descriptions["remEntHitSkip(xft:e)"] = "Removes the entity from the flash trace internal ignore hit list" E2Helper.Descriptions["remHit(xft:)"] = "Removes all the options from the flash trace internal hit preferences" E2Helper.Descriptions["remHit(xft:s)"] = "Removes the option from the flash trace internal hit preferences" E2Helper.Descriptions["remHitOnly(xft:sn)"] = "Removes the option from the flash trace internal only hit list" E2Helper.Descriptions["remHitOnly(xft:ss)"] = "Removes the option from the flash trace internal only hit list" E2Helper.Descriptions["remHitSkip(xft:sn)"] = "Removes the option from the flash trace internal ignore hit list" E2Helper.Descriptions["remHitSkip(xft:ss)"] = "Removes the option from the flash trace internal ignore hit list" E2Helper.Descriptions["setBase(xft:e)"] = "Updates the flash trace base attachment entity" E2Helper.Descriptions["setCollideGroup(xft:n)"] = "Updates flash trace trace collision group enums COLLISION_GROUP" E2Helper.Descriptions["setDir(xft:nnn)"] = "Updates the flash trace direction using three numbers" E2Helper.Descriptions["setDir(xft:r)"] = "Updates the flash trace direction using an array" E2Helper.Descriptions["setDir(xft:v)"] = "Updates the flash trace direction using a vector" E2Helper.Descriptions["setFTrace(e:)"] = "Returns flash trace relative to the entity by zero origin position, up direction vector and direction length distance" E2Helper.Descriptions["setFTrace(e:n)"] = "Returns flash trace relative to the entity by zero origin position, up direction vector and length distance" E2Helper.Descriptions["setFTrace(e:v)"] = "Returns flash trace relative to the entity by origin position, up direction vector and direction length distance" E2Helper.Descriptions["setFTrace(e:vn)"] = "Returns flash trace relative to the entity by origin position, up direction vector and length distance" E2Helper.Descriptions["setFTrace(e:vv)"] = "Returns flash trace relative to the entity by origin position, direction vector and direction length distance" E2Helper.Descriptions["setFTrace(e:vvn)"] = "Returns flash trace relative to the entity by origin position, direction vector, length distance" E2Helper.Descriptions["setIsIgnoreWorld(xft:n)"] = "Updates the flash trace trace IgnoreWorld flag" E2Helper.Descriptions["setLen(xft:n)"] = "Updates flash trace length distance" E2Helper.Descriptions["setMask(xft:n)"] = "Updates flash trace trace hit mask enums MASK" E2Helper.Descriptions["setPos(xft:nnn)"] = "Updates the flash trace origin position using three numbers" E2Helper.Descriptions["setPos(xft:r)"] = "Updates the flash trace origin position using an array" E2Helper.Descriptions["setPos(xft:v)"] = "Updates the flash trace origin position using a vector" E2Helper.Descriptions["smpLocal(xft:)"] = "Samples the flash trace and updates the trace-result by base attachment entity local axis" E2Helper.Descriptions["smpLocal(xft:a)"] = "Samples the flash trace and updates the trace-result by base position, angle" E2Helper.Descriptions["smpLocal(xft:e)"] = "Samples the flash trace and updates the trace-result by entity position and forward vectors" E2Helper.Descriptions["smpLocal(xft:ea)"] = "Samples the flash trace and updates the trace-result by entity position, angle" E2Helper.Descriptions["smpLocal(xft:ev)"] = "Samples the flash trace and updates the trace-result by position, entity angle" E2Helper.Descriptions["smpLocal(xft:v)"] = "Samples the flash trace and updates the trace-result by position, base angle" E2Helper.Descriptions["smpLocal(xft:va)"] = "Samples the flash trace and updates the trace-result by position, angle" E2Helper.Descriptions["smpWorld(xft:)"] = "Samples the flash trace and updates the trace-result by the world axis" E2Helper.Descriptions["smpWorld(xft:a)"] = "Samples the flash trace and updates the trace-result by entity position and angle forward" E2Helper.Descriptions["smpWorld(xft:e)"] = "Samples the flash trace and updates the trace-result by entity position and forward vectors" E2Helper.Descriptions["smpWorld(xft:ea)"] = "Samples the flash trace and updates the trace-result by entity position, angle" E2Helper.Descriptions["smpWorld(xft:ev)"] = "Samples the flash trace and updates the trace-result by position, entity angle" E2Helper.Descriptions["smpWorld(xft:v)"] = "Samples the flash trace and updates the trace-result by position vector and entity forward" E2Helper.Descriptions["smpWorld(xft:va)"] = "Samples the flash trace and updates the trace-result by position, angle"


What does this extension include?

Tracers with hit and ray configuration. The difference with wire rangers is that this is a dedicated class being initialized once and used as many times as it is needed, not creating an instance on every E2 tick and later wipe that instance out. It can extract every aspect of the trace result structure returned and it can be sampled locally ( origin and direction relative to entity or pos/dir/ang ) or globally ( entity is not available and pos/dir/ang are treated world-space data ). Also, it has better performance than the regular wire rangers.

What is this thing designed for?

The FTrace class consists of fast performing traces object-oriented instance that is designed to be @persistand initialized in expression first() || dupefinished(). That way you create the tracer instance once and you can use it as many times as you need, without creating a new one.

What console variables can be used to setup it?

wire_expression2_ftrace_skip > Contains trace generator blacklisted methods ( ex. GetSkin/GetModel/IsVehicle )
wire_expression2_ftrace_only > Contains trace generator whitelisted methods ( ex. GetSkin/GetModel/IsVehicle )
wire_expression2_ftrace_dprn > Stores the default status output messages streaming destination
wire_expression2_ftrace_enst > Contains flag that enables status output messages

How to create an instance then?

You can create a trace object by calling one of the dedicated creators newFTrace below whenever you prefer to attach it to an entity or you prefer not to use the feature. When sampled locally, it will use the attachment entity to orient its direction and length in pure Lua. You can also call the class constructor without an entity to make it world-space based. Remember that negating the trace length will result in negating the trace direction. That is used because the trace length must always be positive so the direction is reversed instead.

Do you have an example by any chance?

The internal type of the class is xft and internal expression type ftrace, so to create a tracer instance you can take a look at the example.

Can you show me the methods of the class?

The description of the API is provided in the table below.

        Instance creator          Out   Description 
newFTrace(image) image Returns flash trace relative to the world by zero origin position, up direction vector and direction length distance
newFTrace(image) image Returns flash trace relative to the world by zero origin position, up direction vector and length distance
newFTrace(image) image Returns flash trace relative to the world by origin position, up direction vector and direction length distance
newFTrace(image,image) image Returns flash trace relative to the world by origin position, up direction vector and length distance
newFTrace(image,image) image Returns flash trace relative to the world by origin position, direction vector and direction length distance
newFTrace(image,image,image) image Returns flash trace relative to the world by origin position, direction vector, length distance
noFTrace(image) image Returns invalid flash trace object
           Class methods             Out   Description 
image:addEntHitOnly(image) image Adds the entity to the flash trace internal only hit list
image:addEntHitSkip(image) image Adds the entity to the flash trace internal ignore hit list
image:addHitOnly(image,image) image Adds the option to the flash trace internal hit only list
image:addHitOnly(image,image) image Adds the option to the flash trace internal hit only list
image:addHitSkip(image,image) image Adds the option to the flash trace internal ignore hit list
image:addHitSkip(image,image) image Adds the option to the flash trace internal ignore hit list
image:dumpItem(image) image Dumps the flash trace to the chat area by number identifier
image:dumpItem(image) image Dumps the flash trace to the chat area by string identifier
image:dumpItem(image,image) image Dumps the flash trace by number identifier in the specified area by first argument
image:dumpItem(image,image) image Dumps the flash trace by string identifier in the specified area by first argument
image:getBase(image) image Returns the flash trace base attachment entity if available
image:getChip(image) image Returns the flash trace auto-assigned expression chip entity
image:getCollideGroup(image) image Returns flash trace trace collision group enums COLLISION_GROUP
image:getCopy(image) image Returns flash trace copy instance of the current object
image:getCopy(image) image Returns flash trace copy instance of the current object using other entity
image:getCopy(image,image) image Returns flash trace copy instance of the current object using other entity and length
image:getCopy(image,image) image Returns flash trace copy instance of the current object using other entity and origin
image:getCopy(image,image,image) image Returns flash trace copy instance of the current object using other entity, origin and length
image:getCopy(image,image,image) image Returns flash trace copy instance of the current object using other entity, origin and direction
image:getCopy(image,image,image,image) image Returns flash trace copy instance of the current object using other entity, origin, direction and length
image:getCopy(image) image Returns flash trace copy instance of the current object using other length
image:getCopy(image) image Returns flash trace copy instance of the current object using other origin
image:getCopy(image,image) image Returns flash trace copy instance of the current object using other origin and length
image:getCopy(image,image) image Returns flash trace copy instance of the current object using other origin and direction
image:getCopy(image,image,image) image Returns flash trace copy instance of the current object using other origin, direction and length
image:getDir(image) image Returns flash trace direction vector
image:getDirLocal(image) image Returns flash trace world direction vector converted to base attachment entity local axis
image:getDirLocal(image) image Returns flash trace world direction vector converted to angle local axis
image:getDirLocal(image) image Returns flash trace world direction vector converted to entity local axis
image:getDirWorld(image) image Returns flash trace local direction vector converted to base attachment entity world axis
image:getDirWorld(image) image Returns flash trace local direction vector converted to angle world axis
image:getDirWorld(image) image Returns flash trace local direction vector converted to entity world axis
image:getDisplaceFlags(image) image Returns the flash trace trace-result DispFlags DISPSURF bitmask
image:getEntity(image) image Returns the flash trace trace-result Entity entity
image:getFraction(image) image Returns the flash trace trace-result Fraction in the interval [0-1] number
image:getFractionLS(image) image Returns the flash trace trace-result FractionLeftSolid in the interval [0-1] number
image:getFractionLen(image) image Returns the flash trace trace-result Fraction multiplied by its length distance number
image:getFractionLenLS(image) image Returns the flash trace trace-result FractionLeftSolid multiplied by its length distance number
image:getHitBox(image) image Returns the flash trace trace-result HitBox number
image:getHitContents(image) image Returns the flash trace trace-result hit surface Contents CONTENTS bitmask
image:getHitGroup(image) image Returns the flash trace trace-result HitGroup group ID number
image:getHitNormal(image) image Returns flash trace trace-result surface HitNormal vector
image:getHitPos(image) image Returns the flash trace trace-result HitPos location vector
image:getHitTexture(image) image Returns the flash trace trace-result HitTexture string
image:getLen(image) image Returns flash trace length distance
image:getMask(image) image Returns flash trace trace hit mask enums MASK
image:getMatType(image) image Returns the flash trace trace-result MatType material type number
image:getNormal(image) image Returns the flash trace trace-result Normal aim vector
image:getPhysicsBoneID(image) image Returns the flash trace trace-result PhysicsBone ID number
image:getPlayer(image) image Returns the flash trace auto-assigned expression chip player
image:getPos(image) image Returns flash trace origin position
image:getPosLocal(image) image Returns flash trace world origin position converted to base attachment entity local axis
image:getPosLocal(image) image Returns flash trace world origin position converted to entity local axis
image:getPosLocal(image,image) image Returns flash trace world origin position converted to position/angle local axis
image:getPosWorld(image) image Returns flash trace local origin position converted to base attachment entity world axis
image:getPosWorld(image) image Returns flash trace local origin position converted to entity world axis
image:getPosWorld(image,image) image Returns flash trace local origin position converted to position/angle world axis
image:getStart(image) image Returns flash trace trace start position sent to trace-line
image:getStartPos(image) image Returns the flash trace trace-result StartPos vector
image:getStop(image) image Returns flash trace trace stop position sent to trace-line
image:getSurfPropsID(image) image Returns the flash trace trace-result SurfaceProps ID type number
image:getSurfPropsName(image) image Returns the flash trace trace-result SurfaceProps ID type name string
image:getSurfaceFlags(image) image Returns the flash trace trace-result SurfaceFlags SURF bitmask
image:isAllSolid(image) image Returns the flash trace trace-result AllSolid flag
image:isHit(image) image Returns the flash trace trace-result Hit flag
image:isHitNoDraw(image) image Returns the flash trace trace-result HitNoDraw flag
image:isHitNonWorld(image) image Returns the flash trace trace-result HitNonWorld flag
image:isHitSky(image) image Returns the flash trace trace-result HitSky flag
image:isHitWorld(image) image Returns the flash trace trace-result HitWorld flag
image:isIgnoreWorld(image) image Returns the flash trace trace IgnoreWorld flag
image:isStartSolid(image) image Returns the flash trace trace-result StartSolid flag
image:rayAim(image,image,image) image Aims the flash trace ray at a given position using three numbers
image:rayAim(image) image Aims the flash trace ray at a given position using a vector
image:rayAmend(image,image,image) image Amends the flash trace ray direction using three numbers
image:rayAmend(image) image Amends the flash trace ray direction using a vector
image:rayAmend(image,image) image Amends the flash trace ray direction using vector and magnitude
image:rayDiv(image) image Contracts the flash trace ray with a number
image:rayDiv(image,image,image) image Contracts the flash trace ray each component individually using three numbers
image:rayDiv(image) image Contracts the flash trace ray each component individually using a vector
image:rayMove(image) image Moves the flash trace ray with its own direction and magnitude
image:rayMove(image) image Moves the flash trace ray with its own direction and magnitude length
image:rayMove(image,image,image) image Moves the flash trace ray with displacement as three numbers
image:rayMove(image) image Moves the flash trace ray with displacement vector
image:rayMove(image,image) image Moves the flash trace ray with direction vector, magnitude length
image:rayMul(image) image Expands the flash trace ray with a number
image:rayMul(image,image,image) image Expands the flash trace ray each component individually using three numbers
image:rayMul(image) image Expands the flash trace ray each component individually using a vector
image:remBase(image) image Removes the base attachment entity of the flash trace
image:remEntHit(image) image Removes all the entities from the flash trace internal hit list
image:remEntHitOnly(image) image Removes all the entities from the flash trace internal only hit list
image:remEntHitOnly(image) image Removes the entity from the flash trace internal only hit list
image:remEntHitSkip(image) image Removes all the entities from the flash trace internal ignore hit list
image:remEntHitSkip(image) image Removes the entity from the flash trace internal ignore hit list
image:remHit(image) image Removes all the options from the flash trace internal hit preferences
image:remHit(image) image Removes the option from the flash trace internal hit preferences
image:remHitOnly(image,image) image Removes the option from the flash trace internal only hit list
image:remHitOnly(image,image) image Removes the option from the flash trace internal only hit list
image:remHitSkip(image,image) image Removes the option from the flash trace internal ignore hit list
image:remHitSkip(image,image) image Removes the option from the flash trace internal ignore hit list
image:setBase(image) image Updates the flash trace base attachment entity
image:setCollideGroup(image) image Updates flash trace trace collision group enums COLLISION_GROUP
image:setDir(image,image,image) image Updates the flash trace direction using three numbers
image:setDir(image) image Updates the flash trace direction using an array
image:setDir(image) image Updates the flash trace direction using a vector
image:setIsIgnoreWorld(image) image Updates the flash trace trace IgnoreWorld flag
image:setLen(image) image Updates flash trace length distance
image:setMask(image) image Updates flash trace trace hit mask enums MASK
image:setPos(image,image,image) image Updates the flash trace origin position using three numbers
image:setPos(image) image Updates the flash trace origin position using an array
image:setPos(image) image Updates the flash trace origin position using a vector
image:smpLocal(image) image Samples the flash trace and updates the trace-result by base attachment entity local axis
image:smpLocal(image) image Samples the flash trace and updates the trace-result by base position, angle
image:smpLocal(image) image Samples the flash trace and updates the trace-result by entity position and forward vectors
image:smpLocal(image,image) image Samples the flash trace and updates the trace-result by entity position, angle
image:smpLocal(image,image) image Samples the flash trace and updates the trace-result by position, entity angle
image:smpLocal(image) image Samples the flash trace and updates the trace-result by position, base angle
image:smpLocal(image,image) image Samples the flash trace and updates the trace-result by position, angle
image:smpWorld(image) image Samples the flash trace and updates the trace-result by the world axis
image:smpWorld(image) image Samples the flash trace and updates the trace-result by entity position and angle forward
image:smpWorld(image) image Samples the flash trace and updates the trace-result by entity position and forward vectors
image:smpWorld(image,image) image Samples the flash trace and updates the trace-result by entity position, angle
image:smpWorld(image,image) image Samples the flash trace and updates the trace-result by position, entity angle
image:smpWorld(image) image Samples the flash trace and updates the trace-result by position vector and entity forward
image:smpWorld(image,image) image Samples the flash trace and updates the trace-result by position, angle
    General functions      Out   Description 
image:setFTrace(image) image Returns flash trace relative to the entity by zero origin position, up direction vector and direction length distance
image:setFTrace(image) image Returns flash trace relative to the entity by zero origin position, up direction vector and length distance
image:setFTrace(image) image Returns flash trace relative to the entity by origin position, up direction vector and direction length distance
image:setFTrace(image,image) image Returns flash trace relative to the entity by origin position, up direction vector and length distance
image:setFTrace(image,image) image Returns flash trace relative to the entity by origin position, direction vector and direction length distance
image:setFTrace(image,image,image) image Returns flash trace relative to the entity by origin position, direction vector, length distance
Clone this wiki locally