Garry's Mod Wiki

Garry's Mod Wiki

  CNewParticleEffect:AddControlPoint( number cpID, Entity ent, number partAttachment, string entAttachment = nil, Vector offset = Vector( 0, 0, 0 ) )

Description

Adds a control point to the particle system.

This function will not work if the CNewParticleEffect:GetOwner entity is not valid

Arguments

1 number cpID
The control point ID, 0 to 63.
2 Entity ent
The entity to attach the control point to.
3 number partAttachment
4 string entAttachment = nil
The attachment name on the entity to attach the particle system to
5 Vector offset = Vector( 0, 0, 0 )
The offset from the Entity:GetPos of the entity we are attaching this CP to.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...