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