# Paragon assets - particle Trail smoke C++

**URL:** <https://forums.unrealengine.com/t/paragon-assets-particle-trail-smoke-c/423842>\
**Category:** FX\
**Tags:** unreal-engine, UE4, question, CPP\
**Created:** [April 29, 2018, 2:17am UTC](https://forums.unrealengine.com/t/paragon-assets-particle-trail-smoke-c/423842 "2018-04-29T02:17:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon47586833](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon47586833](https://forums.unrealengine.com/u/anon47586833)\
**Post date:** [April 29, 2018, 2:17am UTC](https://forums.unrealengine.com/t/paragon-assets-particle-trail-smoke-c/423842/1 "2018-04-29T02:17:31Z")

</div>

so i need your help, i’m following tutorial on how to create gun asset with C++ but im using paragon asset instead  
im trying to add trace between the muzzle and the hit location

![239184-ask.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/8/c48f5000bd214e91ade81daefc28c749c67dc7d0.png)

on the left is tutorial particle on the right paragon asset(P\_TwinBlast\_Bullet\_Trail\_Smoke\_Spline)

The tutorial say that i need to get the value inside

> Target-\> distribution-\> parameter name

I cant find target name in paragon’s particle asset

so what is the string name that i need to define in setvectorparameter for this to work  
C++ code is

> UParticleSystemComponent\*TracerComp = UGameplayStatics::SpawnEmitterAtLocation();  
> TracerComp-\>SetVectorParameter(“targetname”,…);

---

<div class="post-metadata">

**Author:** ![PascalSantos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PascalSantos](https://forums.unrealengine.com/u/PascalSantos)\
**Post date:** [April 29, 2018, 12:00pm UTC](https://forums.unrealengine.com/t/paragon-assets-particle-trail-smoke-c/423842/2 "2018-04-29T12:00:06Z")

</div>

Its a Mesh Particle and not a Beam Particle. Beams have a Source and a Target and Mesh Particles have a Mesh.  
This one has a Spline Mesh Attached to it. You could change the length of the Spline relative to the target distance if you want a full trail.
