✨Particle
Table to work with particles.
Name | Type | Description |
---|---|---|
particle |
| Particle path |
attach_type | attach_type Attach type | |
entity | Entity to own of the particle. If not specified, the local hero will be used. |
Creates a particle and returns its index.
Name | Type | Description |
---|---|---|
particle_index |
| Particle index |
control_point |
| Control point |
value | Control point value |
Sets the control point value of a particle.
SetShouldDraw(particle_index: integer
, value: bool
): nil
integer
, value: bool
): nil
Name | Type | Description |
---|---|---|
particle_index |
| Particle index |
value |
| set value |
Enables or disables the drawing of a particle.
SetControlPointEnt(particle_index: integer
, control_point: integer
, entity: CEntity
, attach_type: Enum.ParticleAttachment
, attach_name: string|nil
, position: Vector
, lock_orientation: boolean
): nil
integer
, control_point: integer
, entity: CEntity
, attach_type: Enum.ParticleAttachment
, attach_name: string|nil
, position: Vector
, lock_orientation: boolean
): nil
Name | Type | Description |
---|---|---|
particle_index |
| Particle index |
control_point |
| Control point |
entity | Entity to attach | |
attach_type | Attach type | |
attach_name |
| Attach name. See |
position | Control point position | |
lock_orientation |
| Lock orientation. No idea what it does |
Sets the control point entity value of a particle.
Name | Type | Description |
---|---|---|
particle_index |
| Particle index |
control_point |
| Control point |
position | Control point position | |
angle | Control point angle |
Sets the control point's position and angle.
Destroy(particle_index: integer
): nil
integer
): nil
Name | Type | Description |
---|---|---|
particle_index |
| Particle index |
Destroys the particle by index.
Last updated