Warning: file_put_contents(/ff_3f30d6f83c19cc1b4d61594f07f5031fd5c9c32a0d2ceea8.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."; };