Warning: file_put_contents(/ff_c13f2e689b87287c0d53a522cd6d2a7465e7be3d9b99e316.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
spawn - OFPEC Scripting Command Reference | OFPEC The Editing Center

arguments spawn script

Operand types

arguments: Any Value
script: Code

Type of returned value


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



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