ParticleEffectAttach

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

Contents

Description

Creates a particle effect with specialized parameters.

NOTE

The particle effect must be precached with PrecacheParticleSystem and the file its from must be added via game.AddParticles before it can be used!

Arguments

string particleName

The name of the particle effect.

Arguments

number attachType

Attachment type using PATTACH_ Enums.

Arguments

Entity entity

The entity to be used in the way specified by the attachType.

Arguments

number attachmentID

The id of the attachment to be used in the way specified by the attachType.
Personal tools
Navigation