Can't Add Score When Hit
I set up a system where you collide with an object and it gives you a point to the HUD score system and the first person template. It works fine there. I try to do the same steps in the flying pawn template, but I can't seem to add the score in the HUD. I followed this tutorial: https://docs.unrealengine.com/latest/INT/Videos/PLZlv_N0_O1gbY4FN8pZuEPVC9PzQThNn1/sNueIWCKoco/index.html. The print string function triggers, so the collision is registering, it just won't add a score to the HUD counter. Anyone have any ideas why the counter is not registering on the score?
asked Aug 16 '16 at 12:11 PM in Blueprint Scripting
That would be it. I think I know why. FlyingPawn is just that, a Pawn. Try using GetPlayerPawn instead of GetPlayerCharacter for the Object for that cast. That should return the right reference for you.
answered Aug 16 '16 at 06:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here