TE_SetupExplosion Function

Sets up a explosion effect.

void TE_SetupExplosion(const float pos[3], int Model, float Scale, int Framerate, int Flags, int Radius, int Magnitude, const float normal[3], int MaterialType)

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.