CreateParticleSystem

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

Contents

Description

Creates a new particle system

NOTE It is possible that this function will be changed or removed in the future.

Arguments

Entity ent

The entity to attach the control point to.

Arguments

string effect

The name of the effect to create. It must be precached.

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.

Returns

CNewParticleEffect

The created particle system.
Personal tools
Navigation