Revision Difference
CNewParticleEffect:AddControlPoint#518910
<function name="AddControlPoint" parent="CNewParticleEffect" type="classfunc">
<description>
Adds a control point to the particle system.
<note>This function will not work if the <page>CNewParticleEffect:GetOwner</page> entity is not valid</note>
</description>
<realm>Client</realm>
<args>
<arg name="cpID" type="number">The control point ID, 0 to 63.</arg>
<arg name="ent" type="Entity">The entity to attach the control point to.</arg>
<arg name="partAttachment" type="number">See <page>PATTACH</page>.</arg>
<arg name="partAttachment" type="number">See <page>Enums/PATTACH</page>.</arg>
<arg name="entAttachment" type="number" default="0">The attachment ID on the entity to attach the particle system to</arg>
<arg name="offset" type="Vector" default="Vector( 0, 0, 0 )">The offset from the <page>Entity:GetPos</page> of the entity we are attaching this CP to.</arg>
</args>
</function>