TE_SetupBeamFollow Function

Sets up a follow beam effect.

void TE_SetupBeamFollow(int EntIndex, int ModelIndex, int HaloIndex, float Life, float Width, float EndWidth, int FadeLength, const int Color[4])

Parameters

int EntIndex

Entity index from where the beam starts.

int ModelIndex

Precached model index.

int HaloIndex

Precached model index.

float Life

Time duration of the beam.

float Width

Initial beam width.

float EndWidth

Final beam width.

int FadeLength

Beam fade time duration.

const int[4] Color

Color array (r, g, b, a).