Jump to content
Sign in to follow this  
Leopard20

DrawIcon3d Fade in and out with keypress

Recommended Posts

Hi.

I am trying to make a script where the nearby AI names appear next to them (using drawIcon3D) when a certain key is pressed.

I want their names to appear the instant the key is pressed and start to fade out in the next 5 seconds. How can I do that?

P.S: I don't want you to describe all the steps! So far my script successfully shows the AI names (when the player is within 50 meters of them); I just need help with the fade out part.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×