Craig Martin

(Official) LUA Scripting Documentation

add_entity

Add (spawn) a single entity.


Spec:

add_entity(
	double x,
	double y,
	double z,
	double duration,
	double velocity_x,
	double velocity_y,
	double velocity_z,
	double scale,
	string com_pack,
	string com_name,
	bool is_face_forward,
	bool is_collidable,
	double draw_pos_offset_x,
	double draw_pos_offset_y,
	double draw_pos_offset_z,
	double draw_rot_offset_y)

Parameters


Entities will be removed if they move outside the game world


Incomplete

This documentation is incomplete


back