Craig Martin

(Official) LUA Scripting Documentation

add_particle

Add (emit) a single particle.


Spec:

add_particle(
	double x,
	double y,
	double z,
	double duration,
	double velocity_x,
	double velocity_y,
	double velocity_z,
	double size_x,
	double size_y,
	double size_z,
	double size_end,
	long start_color_r,
	long start_color_g,
	long start_color_b,
	long start_color_a,
	double gravity,
	double rotation,
	double velocity_var_x,
	double velocity_var_y,
	double velocity_var_z,
	long end_color_r,
	long end_color_g,
	long end_color_b,
	long end_color_a,
	double emit_pos_var_x,
	double emit_pos_var_y,
	double emit_pos_var_z,
	double emit_pos_offset_x,
	double emit_pos_offset_y,
	double emit_pos_offset_z)

Parameters



Examples

add_particle(100,200,300,6,0.2,6,-0.8,1,2,0.5)

add_particle(100,200,300,6,0.2,6,-0.8,1,2,0.5,2,200,200,200,200,0.1,0.5,0.1,0.2,0.3,100,100,100,100,0.5,0.5,0.5,1,2,3)

Incomplete

This documentation is incomplete


back