Jump to content
Sign in to follow this  
Stag

Black in/out

Recommended Posts

Anybody know a way to control the duration of the blackin/out effect? as it stands its just a wee bit to fast for my purposes.

I did search, but if its been discussed before the thread is pretty elusive.

Thanks in advance.

Share this post


Link to post
Share on other sites

titleCut ["","BLACK IN", 10]

blacks in in 10 seconds

titleCut ["","BLACK OUT", 3]

blacks out in 3 seconds

tounge.gif

Share this post


Link to post
Share on other sites

Wow, that was quick!

Many thanks, Mr. K.

Share this post


Link to post
Share on other sites

Anyone know if there's any way to get the time to advance to a specific point, or, failing that, displaying the time in title text?

Share this post


Link to post
Share on other sites

I don't know about that, but to show just normal text use:</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">titleCut ["TEXT","BLACK IN", 10]

<span id='postcolor'> smile.gif

Share this post


Link to post
Share on other sites

use skipTime hours

and I'm not sure if this is the right one but

dayTime should return the game time.

Share this post


Link to post
Share on other sites

THAT's what I was after. Finally, Can anyone see why this doesn't work?

skiptime 5;titlecut[dayTime,"plain",10]

Share this post


Link to post
Share on other sites

try using the format command.

skiptime 5; titleText [format["%1", dayTime], "plain", 10]

as a sidenote, if you do a fade and then try to put words over it, whichever is called last will negate the first. as in, black out, then put "Hello, World" over it will negate the black out.

the way to get around this is to use cutText and titleText, use one for the fade, the other for words.

Share this post


Link to post
Share on other sites

Thanks Dismas, That's what I was after, though the number returned is in base 10 (not a major problem) and to 5 decimal places.

Now to figure out a way to get it to return only the first three.

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  

×