Accessing Fields and EventOuts of the Script
Fields defined in the Script node are accessible only within the Script by using its name. Its value can be read or written. This value is persistent across function calls.
eventOuts of a Script node are accessible from its JavaScript functions and it can be read. The value is the last value assigned to this eventOut.
The eventIns are not accessible from its JavaScript functions.