Procedures | ||
Procedures are an alternative to methods. Both have the same functionality, but procedures are not attatched to classes or instances. They can be designed for use with a specific class by specifying the class which will be calling it. Specifying a public procedure will make the procedure available to be used by any other script in you game. Just use the "use" keyword to attatch the scripts. Syntax
|