TE_SetupExplosion

Last Updated2007-07-05
Created At2007-07-05

Sets up a explosion effect.

stock void TE_SetupExplosion(const float pos[3], int Model, float Scale, int Framerate, int Flags, int Radius, int Magnitude, const float normal[3] = { 0.000000, 0.000000, 1.000000 }, int MaterialType = 'C')

Parameters

const float[3] pos
Explosion position.
int Model
Precached model index.
float Scale
Explosion scale.
int Framerate
Explosion frame rate.
int Flags
Explosion flags.
int Radius
Explosion radius.
int Magnitude
Explosion size.
const float[3] normal
Normal vector to the explosion.
int MaterialType
Exploded material type.

Return Value

void