✨Particle
Table to work with particles.
particle
string
Particle path
attach_type [?]
attach_type Attach type (default: Enum.ParticleAttachment.PATTACH_WORLDORIGIN)
entity [?]
Entity to own of the particle. If not specified, the local hero will be used. (default: Players.GetLocal())
Creates a particle and returns its index.
particle_index
integer
Particle index
control_point
integer
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
particle_index
integer
Particle index
value
bool
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
particle_index
integer
Particle index
control_point
integer
Control point
entity
Entity to attach
attach_type
Attach type
attach_name
string|nil
Attach name. See NPC.GetAttachment
function
position
Control point position
lock_orientation
boolean
Lock orientation. No idea what it does
Sets the control point entity value of a particle.
particle_index
integer
Particle index
control_point
integer
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
particle_index
integer
Particle index
Destroys the particle by index.
Last updated