Download

Why can't i set the HUD for the player controller in runtime ?


UFUNCTION(Reliable, Client)
void ClientSetHUD
(
    TSubclassOf< class AHUD > NewHUDClass
)


Why not just make it as :


UFUNCTION(BlueprintReadWrite, Category=HUDsomthing, Reliable, Client) 
void ClientSetHUD
(
    TSubclassOf< class AHUD > NewHUDClass
)

or something…?

I assume you meant “BlueprintCallable” instead of “BlueprintReadWrite”.

I think that’s a good idea, and I’ll make the change. Thanks!

I’m making influence YAY! :stuck_out_tongue: