arguments spawn script

Operand types

arguments: Any Value
script: Code

Type of returned value

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 is finished use scriptDone.

Used In

ArmA

Example

[] spawn { player globalChat "This is running in parallel."; };
Search OFPEC COMREF