Difference between revisions of "spawn"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Described other spawn variant.)
 
m
Line 9: Line 9:
 
'''Operand types:'''
 
'''Operand types:'''
  
'''arguments''': [[Anything]]
+
'''arguments:''' [[Anything]]
  
 
'''code''': [[Code]]
 
'''code''': [[Code]]

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