Difference between revisions of "sleep"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
 
m (Only for functions)
Line 20: Line 20:
 
'''Description:'''
 
'''Description:'''
  
Suspend execution of script for given time.
+
Suspend execution of [[Functions - SQF|function]] based script for given time.
  
  

Revision as of 10:59, 24 July 2006


sleep delay


Operand types:

delay: Number

Type of returned value:

Nothing

Compatibility:

Version 2.60 required.

Description:

Suspend execution of function based script for given time.


Example:

sleep 0.5