teoteote
(teoteote)
1
I want to cast to hud from my character but I keep getting the same errorwhich says that it does not inherit from ‘HUD’ how would I fix this
Alekann01
(Alekann01)
2
Hi teoteote
Could you please post a screenshot of your code / blueprint please
Thanks
Alex
Alekann01
(Alekann01)
4
Hi teoteote
The object “Start” does not inherit from a HUD class, therefore the cast always fail (as the error suggests).
Good luck
Alex
teoteote
(teoteote)
5
How would i go about fixing this then
Alekann01
(Alekann01)
6
You need to ensure the object derives from the HUD class.
You can change an objects type from the “class” settings menu.
I highly recommend you check out Object Orientated Programming and explore more into casting.
There are probably some explanations on YouTube.
Good luck
Alex