How to Temporarily Hide FirstPersonHUD

Hi Guys,

I’m using the FirstPersonShooter template with FPS Weapons Pack 2 by Deadghost Interactive and have the RDS active and was wondering how I can hide the crosshairs in FirstPersonHUD temporarily while zooming my rifle, here’s my blueprint for the weapon’s zoom function:

Thanks i advance

Hey there,

Assuming your zooming function is inside your first person character blueprint, you’re going to want something like this:

Cast to first person character in your HUD and use the zooming bool to determine when not to draw the crosshair

That worked perfectly, thank you so much

Hey Mookiez,
your solution looks perfect. but I can’t figure it out. I’m new to UE and I don’t
understand what you did after the cast-to and how I get a target for the branch condition.

could you maybe explain it to me in more detail?

nevermind. figured it out. made the variable in the wrong blueprint.
thanks anyways for the inspiration :slight_smile: