Subsystem

Quillscript core

The Quillscript Subsystem is an Unreal Engine's Game Instance Subsystem. This object manages the plugin as a hole, it holds state properties, and stores Quillscript's data.


Data Storage

The Quillscript Subsystem centralizes all Quillscript relevant data in a single object.

Variables

Quillscript variables are stored here as a map of key-value. The Key is of type Name, and the value is of type Text. The value is marked as a non-cultural variant by default.

History

The Quillscript history stores relevant data from scripts. Primarily the number of times this script played and the Save State list containing the sequence of statements played when this script was run.

References

This is where Quillscript stores the map of object references to use in script.


Events

The Subsystem also centralizes some important assignable events.

On Script Play

This event fires when a script starts to play.

On Script End

This event fires when a script finishes to play.

On Notified

This event fires when the Interpreter's Notify built-in function is called from script or code.

$ Notify Message
$ Notify point,data,round
$ Notify 'Hello world!'

This event is intended as an easy built-in method to pass string data from script to code. It is not intended as a general purpose, nor to be the only approach to pass data, and it is recommended, for most cases, to create events and functions more suitable for the data type and situation.

On Variable Set

This event fires when a variable is created, its value is changed, or a variable is deleted.

Last updated