Jump to content
Sign in to follow this  
McSpuds

Sleep Function (wait time) in script

Recommended Posts

Norrin has a great script wrote for extractions and insertions. Very nice. Only thing is the wait times before some actions can be made.

I need to understand the "sleep" function in his scripts. I see sleep times ranging from 0.1 to 20. Is this 1 sec for each 0.1 ? Reason I ask is I need to change some times to be shorter.

Here is his script...

http://forums.bistudio.com/showthread.php?p=1750900#post1750900

What I need to know is how to shorten the time between:

1. when the chopper lands and when the player gets the hint to "Board the chopper"

2. when the player gives the "All clear for take off" command and when the bird actually lifts off.

Any help would be awesome.

Share this post


Link to post
Share on other sites

Hi,

The sleep time numbers are 1 for 1 second, so 0.1 will be 0.1 of a second.

I can't check the script out at the moment, so I can't say which numbers need to be changed but it should be easy to see.

If you use this link: http://community.bistudio.com/wiki/Category:Scripting_Commands

it gives you a decription of most of the commands ( watch out because some comments are incorrect, but 99% of the time it's good information). So you would in your case look for sleep in the list.

Regards

James

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  

×