I am a complete beginner, and as such I'm looking at some really basic tutorials like this one
At the end of it I thought "lets try and add an explosion effect when the third person character dies"
I looked into some function names and found that I have to use "Spawn Emitter at Location" Fine! Turns out I need a Location as well , tried to drag it from the "As third Person Character" and found a nice "GetActorLocation".
Sweet and Simple, I'm understanding it !
WRONG, it doesn't work.
I even tried to add an "IsValid" node to check if the emitter is spawned, and it seems it is NOT.
I tried various fancy and creative ways to connect things..very beginner-like, but apparently I'm missing something. Couldn't even find the same question anywhere, as the posts I saw were too difficult for my level.
As a side note, I already posted this question on the unreal answer hub but received no answer since 2/3 days.
I hope someone can help me or at least point me in the right direction. Thanks
you are learning that's good but try to understand visual scripting does not change the rules of programming , you are destroying the actor(which is an object) and then spawning the emitter which will never fire . In normal programming languages if you delete/destroy an object can you use its functionality ? NO .
Now the matter at hand, spawn the emitter first and then after a delay node destroy your actor which will work as intended or if you want the actor to completely disappear and then emit a particle then first hide the actor mesh , spawn the emitter and after some delay destroy it. Hope it helps . Keep practicing. :)