Difference between revisions of "spawn"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 11: Line 11:
 
'''arguments:''' [[Anything]]
 
'''arguments:''' [[Anything]]
  
'''code''': [[Code]]
+
'''code:''' [[Code]]
  
 
'''Type of returned value:'''
 
'''Type of returned value:'''

Revision as of 00:24, 18 July 2006


arguments spawn code


Operand types:

arguments: Anything

code: Code

Type of returned value:

Script

Compatibility:

Version 2.40 required.

Description:

Starts running a new script. Additional arguments are passed in local _this variable.

The new script is running in parallel, spawn does not wait for it to be done.

To check if it finished use scriptDone