Garry's Mod Wiki

Revision Difference

Enums/PATTACH#516080

<cat>enum</cat> <enumeration> <description>Enumerations used by <page>Global.ParticleEffectAttach</page>.</description> <fields>{{EnumField|PATTACH_ABSORIGIN|0|Particle spawns in entity's origin and does not follow it</fields>⤶ <fields>⤶ <item key="PATTACH_ABSORIGIN" value="0">Particle spawns in entity's origin and does not follow it</item>⤶ <item key="PATTACH_ABSORIGIN_FOLLOW" value="1">Particle attaches to entity's origin and follows the entity</item>⤶ <item key="PATTACH_CUSTOMORIGIN" value="2">Create at a custom origin, but don't follow</item>⤶ <item key="PATTACH_POINT" value="3">Particle attaches to passed to <page>Global.ParticleEffectAttach</page> attachment id, but does not follow the entity</item>⤶ <item key="PATTACH_POINT_FOLLOW" value="4">Particle attaches to passed to <page>Global.ParticleEffectAttach</page> attachment id and follows the entity</item>⤶ <item key="PATTACH_WORLDORIGIN" value="5">Particle spawns in the beginning of coordinates ( Vector( 0, 0, 0 ) ), used for control points that don't attach to an entity</item>⤶ </fields>⤶ </enumeration> ⤶ ⤶ {{EnumField|PATTACH_ABSORIGIN_FOLLOW|1|Particle attaches to entity's origin and follows the entity}}⤶ {{EnumField|PATTACH_CUSTOMORIGIN|2|Create at a custom origin, but don't follow}}⤶ {{EnumField|PATTACH_POINT|3|Particle attaches to passed to <page>Global.ParticleEffectAttach</page> attachment id, but does not follow the entity}}⤶ {{EnumField|PATTACH_POINT_FOLLOW|4|Particle attaches to passed to <page>Global.ParticleEffectAttach</page> attachment id and follows the entity}}⤶ {{EnumField|PATTACH_WORLDORIGIN|5|Particle spawns in the beginning of coordinates ( Vector( 0, 0, 0 ) ), used for control points that don't attach to an entity}}⤶ }}