Triggerbox and HUD helptext
I made this Triggerbox with OnOverlapBegin and OnOverlapend functions, so im planning to do is make a string variable, and when;
OnOverlapBegin function is used, the string variable will be assigned a value of "Press C to crouch" (for example) and
when Overlapend function is used, the string value will be set to none.
so in the UserWidget HUD, named PlayerHUD, i would like to get the string value of the Triggerbox and assign it to a textbox.
asked Feb 12 '18 at 08:05 AM in C++ Programming
Your best approach to this is in the function you have bound to the OnOverlapBegin,
you will want to get the HUD,
and then set the your text box value on the HUD to be 'Press C to crouch'. Then so the same but OnOverlapEnd event.
answered Feb 12 '18 at 10:33 AM
wait so where do i put
and the MyHUD should i change it to my PlayerHUD? making it
answered Feb 12 '18 at 12:19 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here