Garry's Mod Wiki

CNewParticleEffect:SetControlPointEntity

  CNewParticleEffect:SetControlPointEntity( number child, Entity parent )

Description

Essentially makes child control point follow the parent entity.

Arguments

1 number child
The child control point ID, 0 to 63.
2 Entity parent
The parent entity to follow.