To use the PrintfActor, load debug.so and create an actor of type PrintfActor.
If the format string is omitted, then the zi arguments must be numeric (integer or floating point) and will be printed out with a space separating them and a trailing newline.
If the format string is supplied, then it is used printf-style to format any subsequent floating-point arguments.
Because of present parsing limitations, the format string must be surrounded by double quotes, and spaces in the string must be rendered as underscore characters. If you put literal whitespace in the format string, a syntax error will occur. (Sorry.) Also, \n meaning newline is recognized only at the end of the format string.
LoadDSO msgGroup.so;
m = Create MessageGroup;
AddMessage m ... ;
AddMessage m printf pr *0 *1 *5;
printf pr "foo:_%.2f_bar:%g\n" 19.42 5;
will print:
foo: 19.42 bar:5