Garry's Mod Wiki

CNewParticleEffect:AddControlPoint

CNewParticleEffect:AddControlPoint( number cpID, Entity ent, number partAttachment, number entAttachment = 0, 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 number entAttachment = 0
The attachment ID 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.

Page Links


Special Pages


Wikis

?

Render Time: 75ms

DB GetPage 42
Generate Html 11
SaveChanges (1) 13
Render Body 0
Render Sidebar 6