TE_SetupBeamLaser
Sets up an entity to entity laser effect.
stock void TE_SetupBeamLaser(int StartEntity, int EndEntity, int ModelIndex, int HaloIndex, int StartFrame, int FrameRate, float Life, float Width, float EndWidth, int FadeLength, float Amplitude, const int Color[4], int Speed)
Parameters
int StartEntity
Entity index from where the beam starts.
int EndEntity
Entity index from where the beam ends.
int ModelIndex
Precached model index.
int HaloIndex
Precached model index.
int StartFrame
Initial frame to render.
int FrameRate
Beam frame rate.
float Life
Time duration of the beam.
float Width
Initial beam width.
float EndWidth
Final beam width.
int FadeLength
Beam fade time duration.
float Amplitude
Beam amplitude.
const int[4] Color
Color array (r, g, b, a).
int Speed
Speed of the beam.
Return Value
void