Garry's Mod Wiki

Garry's Mod Wiki

  util.ParticleTracer( string name, Vector startPos, Vector endPos, boolean doWhiz )

Description

Creates an orange box (.pcf) tracer effect with the given parameters. See util.ParticleTracerEx for version with additional arguments.

Internally uses ParticleTracer engine effect. (util.Effect) which then spawns in ParticleEffect effect.

The default bullet effect is not in .pcf format, therefore it is not used with util.ParticleTracer. Consider utilizing util.Effect instead

Arguments

1 string name
The name of the .pcf particle effect to use for the tracer.

Control Point 0 is the start location. Control Point 1 is the end pos.

2 Vector startPos
The start position of the tracer.
3 Vector endPos
The end position of the tracer.
4 boolean doWhiz
Whether to play the hit near-miss (whiz) sound.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...