JavaScript must be enabled in order to use this site.Please enable JavaScript in your browser and refresh the page. How to Write and Use GCScript Functions This section covers the various type of functions you can create and the syntax used to create them. Calling functions Writing our own functions: local functions Writing our own global functions Anonymous Functions Parent topic: Script Functions