Skip to main content

The "sys_log_init" Function

Syntax#

sys_log_init(entity, index, linebreak, font);
ArgumentTypeDescription
entityintegerThe data structure of the text entity to process
indexintegerThe index of the row containing the target entity
linebreakrealThe width in pixels before text is wrapped into a new line
fontfontThe font to process text in, where fnt_default is default

Description#

Processes a string of text for the backlog and calculates dimensions on initialization. Also returns the final surface created for further processing.

As this script is run automatically by the backlog, it is almost never necessary to run sys_log_init manually.