You are not logged in.
Pages: 1
I'm trying to add a smoke puff particle on each footstep made by a player. Does anyone know the API for spawning particles from the code?
Offline
prefix_particle_Type
the one you want is probably
void regular_particle_splash(int type, int num, int fade, const vec &p, int color, float size, int radius, int gravity, int delay)
should look like
void regular_particle_splash(PART_STEAM, 1, 40, world_position , color, 5, 5, 2);
or something like that
Be super cool if the terrain could tell the particle what color to render.
Offline
Pages: 1