Spawn System Attached Issue

So I’m trying to create a hand held torch, my problem is when with spawning the particle system, if i use the begin play it spawns perfectly fine in the correct location, but trying to use it on a function I have created in an actor bp it wont spawn at all from the seems of it my bools get called and set true and false as they should be the system wont activate at all. I know the function works as I have been using it for a animation montage system which is being used in my player bp.

What is triggering the function? Is it a key input, a ui interaction?

Check if all of the parts leading up to the function are firing properly (add breakpoints with f9 and see if everything else is in working order)

Yeah I’m trying to activate it by a key input, it works perfectly fine in terms of the actual code executing, from debugging and print strings so I know its not getting a null reference or anything like that from the actual key.

My key input works as well since it is being used for another function which hasn’t had a problem and using essentially the same logic but instead of a montage its returning the fx system.

If this is in a multiplayer environment then you are only running the spawn particle system on the server.
Could it be that you are viewing it on the client that does not replicate the system? Either try setting it to replicate or do the function after a multicast.

2 Likes

God ■■■■ cant believe I’m so stupid and forgot to set it to multicast :upside_down_face:
You are a god among men brother absolute legend, got it working now.

Have a good Christmas mate

Have a great Christmas too.
Don’t get too entangled in coding & rest on the holidays :wink:

2 Likes