The "sys_log_get_xoffset" Function

Syntax#

sys_log_get_xoffset(entity, index, char_index);
ArgumentTypeDescription
entityintegerThe data structure of the entity for which to perform text
indexintegerThe index of the row containing the target entity ID
char_indexintegerThe index of the character in the string before which to check for linebreaks

Description#

Returns the horizontal offset of the current line of text based on the current paragraph alignment set by vngen_set_halign at the time when logged text was recorded.