I created a bp for my gamemode so I could set the value of the hud to myhud, but I have no clue if the hud class is actually being called at all. Anyone got any ideas?
Before anyone pitches the Widget thing, I been working with basic canvas for years and prefer the freedom to do what I need without running into “Widget” limitations.
APlayerController* C = Cast<APlayerController>(Controller);
if (C->MyHUD != NULL)
ShowScope();
K ran this on a keybound function, showscope works on a different keybind so i know that works, it also works is i just call it on the scope but when I dig around trying to find a hud, apparently there isnt any. I started the project with a blank slate c++
maybe I have to spawn the hud class my self?