So i tried using SpawnEmitterAttached and it works great, i managed to create the particle systems and then put them into a array, but i cant seem to call on any of it’s variables or functions.
UParticleSystemComponent* ParticleTemp;
ParticleTemp = UGameplayStatics::SpawnEmitterAttached
(TemplateSystem,
RootComponent,
NAME_None,
GetActorLocation(),
GetActorRotation(),
EAttachLocation::KeepWorldPosition,
false);
ParticleSystems.Add(ParticleTemp);
Thats the code i use to create the emitters, but i cant seem to ParticleTemp-> to change any variables, is this normal?