Skip to content

ParticleAttachment Enum

The ParticleAttachment enum defines the various attachment points and methods used for particle effects in Dota 2.

Enum Values

NameValueDescription
PATTACH_INVALID-1Represents an invalid attachment.
PATTACH_ABSORIGIN0Attaches the particle to the absolute origin of the entity.
PATTACH_ABSORIGIN_FOLLOW1Attaches the particle to the absolute origin and follows the entity.
PATTACH_CUSTOMORIGIN2Uses a custom origin for the particle attachment.
PATTACH_CUSTOMORIGIN_FOLLOW3Uses a custom origin for the particle and follows the entity.
PATTACH_POINT4Attaches the particle to a specific point on the entity.
PATTACH_POINT_FOLLOW5Attaches the particle to a specific point and follows the entity.
PATTACH_EYES_FOLLOW6Attaches the particle to the eyes of the entity and follows it.
PATTACH_OVERHEAD_FOLLOW7Attaches the particle overhead and follows the entity.
PATTACH_WORLDORIGIN8Attaches the particle to the world origin.
PATTACH_ROOTBONE_FOLLOW9Attaches the particle to the root bone of the entity and follows it.
PATTACH_RENDERORIGIN_FOLLOW10Attaches the particle to the render origin and follows the entity.
PATTACH_MAIN_VIEW11Attaches the particle to the player's main view.
PATTACH_WATERWAKE12Attaches the particle to create a water wake effect.
PATTACH_CENTER_FOLLOW13Attaches the particle to the center of the entity and follows it.
PATTACH_CUSTOM_GAME_STATE_114Custom game state attachment point.
MAX_PATTACH_TYPES15Represents the total number of particle attachment types.