GetParticleEntity() is not working for MuzzleEffectComponent (BaseEffectComponent)
If you try to get the assigned ParticleEntitny for a Gun Muzzle, it always return NULL
GetParticleEntity() is not working for MuzzleEffectComponent (BaseEffectComponent)
If you try to get the assigned ParticleEntitny for a Gun Muzzle, it always return NULL
array<Managed> EffectArray = {}; IWeapon.FindComponents(MuzzleEffectComponent, EffectArray); if(EffectArray.Count() > 0) { foreach (Managed ManagedEffectComp : EffectArray) { BaseEffectComponent EffectComp = BaseEffectComponent.Cast(ManagedEffectComp); IEntity EffectEnt = EffectComp.GetParticleEntity(); ParticleEffectEntity PEffectEnt = ParticleEffectEntity.Cast(EffectComp.GetParticleEntity()); Print(EffectComp); Print(EffectEnt); Print(PEffectEnt); } }