CNewParticleEffect:AddControlPoint

From Garry's Mod
Jump to: navigation, search
 CNewParticleEffect:AddControlPoint( )

Contents

Description

Adds a control point to the particle system.

Arguments

number cpID

The control point ID, 0 to 63.

Arguments

Entity ent

The entity to attach the control point to.

Arguments

number partAttachment

Arguments

number entAttachment=0

The attachment ID on the entity to attach the particle system to

Arguments

Vector offset=Vector( 0, 0, 0 )

The offset from the Entity:GetPos of the entity we are attaching this CP to.
Personal tools
Navigation