Craig Martin

(Official) LUA Scripting Documentation

add_particle_emitter

Add a Particle Emitter.


Spec:

add_particle_emitter(
	double x,
	double y,
	double z,
	double emitter_duration,
	double emit_freq,
	double particle_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



Example

add_particle_emitter(100,200,300,60,1,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