Function checking then event graph
So I have created a simple inventory on my default character class, I have a few functions one of them casts a raytrace line if it hits certain objects it will store them into my inventory now as soon as the raytrace hits a item I have a sound play that works fine but I want to call a widget to add a visual notification that the player has hit the object no I can easily cast a widget and remove it but I found out you cant use a delay in a function, so I need some way of knowing that something was added to my inventory so i can display the widget then wait 3 seconds then remove it all from my event graph.
Does anyone know a way to do this i'm not to good at understanding the variables but I suppose you would do it through that some how.
asked Jan 14 '16 at 11:34 PM in Blueprint Scripting
I would think you want to do something like this: https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/EventDispatcher/index.html
answered Jan 15 '16 at 12:23 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here