Jump to content
Sign in to follow this  
Taxen0

BIS_fnc_showSubtitle fade duration

Recommended Posts

Hi,

 

how can i set the duration that text created with BIS_fnc_showSubtitle should be visible? I was unable to find anything regarding the duration on the wiki and would like to sync it to a audio file.

 

thanks!

Share this post


Link to post
Share on other sites

You'll have to copy&paste the function and make your own. Then you can change the fade time (sleep 10) to something else. As alternative you might want to use R3vos function, (which is kinda the same, but with more features) and change the sleep time there.

Share this post


Link to post
Share on other sites

Oh i see, I haven't done anything similar before so where in the editor do I find this function? is there a way of searching for the name or do I have to have to locate it otherwise?

Share this post


Link to post
Share on other sites

If you use my function it should be enough to change this line

#define FADE_DURATION 0.5

0.5 is the fade duration change it to whatever you want.

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  

×