How do I make a crosshair appear?
So I have a blueprint which draws a crosshair in the center of the screen however that crosshair is always on the screen. What I'm trying to do is make it so that the crosshair appears when the player overlaps with a trigger and then disappears when the player ends the overlap. Basically the crosshair would be visible as long as the player is overlapping with the trigger. How would I do that? For my crosshair right now, I'm using the Event Receive Draw Hud and it's being drawn in the center of the screen.
asked Aug 31 '15 at 04:32 AM in Blueprint Scripting
In HUD blueprint you can add variable, and set needed level of transparency.
Place trigger volume in scene.
Add in the Level Blueprint events for change visibility of cursor.
Or add in character blueprint mouse event for control visibility.
answered Aug 31 '15 at 02:39 PM
Simply add a boolean to some convenient place both HUD and your trigger blueprint have access to. Set to true on overlap and only draw crosshair then.
answered Aug 31 '15 at 09:33 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here