This controller is only useful for debugging. Clears the player clipboard and prints a specified message to it.
Display of the player clipboards is enabled in debug mode (press Ctrl+D).
Required parameters:
- text = "format_string"
format_string must be encased in double-quotes. It is a printf format string, so if you know about printf, you can skip this description. The format string contains any text you wish to display. You can also use \n to generate a line break, and \t to generate a tab character (tab width is equivalent to 4 characters).
To display the value of an arithmetic expression, you can put a %d (for ints) or a %f (for floats) in the format string, then specify the expression in the params list. To display a % character, you must put %% in the format string.
Optional parameters:
- params = exp_1, exp_2,exp_3, exp_4, exp_5
Up to 5 numeric arguments can be specified in the format string. These should be listed under the params item, in order. The type of each parameter must match its format specifier. You cannot specify more or less parameters than are called for in the format string.
Example:
type = DisplayToClipboard
text = "The value of var(17) is %d, which is %f%% of 23.\n\t--Kiwi."
params = var(17) := 1, var(17) / .230
; displays the following to the player's clipboard:
; The value of var(17) is 1, which is 4.347826% of 23.
; 	--Kiwi.