Right Object to Cast from Widget Blueprint to NPC Blueprint?
I want my NPC to become agressive when the player gives certain ansers during NPC-Dialogue. For this i want to cast (from my widget blueprint) to the NPC when a certain button from the widget is clicked, but it does not work. I think i have the wrong object, but i do not know what other objects I should put there.
asked Aug 18 '17 at 02:28 PM in Blueprint Scripting
I communicate to the pawn from widgets regularly so I'm sure it's just an oversight somewhere. I quick trick to figure out what your accessing is to run a Print String node at the end and attach the pawn/character reference to it so you can see what reference your trying to communicate with. Once you know if your communicating with the correct reference it should work fine.
answered Aug 18 '17 at 04:45 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here