Skip to content

The LGTextObject

Grisgram edited this page Sep 14, 2025 · 2 revisions

This is a small object which acts as the parent for all UI controls.

It offers a text property which gets automatically resolved through LG when the object is created.

image

The reason, why we spend this object its own wiki page is the function it offers:

LG_reapply

/// @func	LG_reapply()
/// @desc	Re-evaluates the original LG string provided when this object
///			has been created.
///			As LG string can contain variables it might be useful to be able
///			to refresh/update the content.
LG_reapply = function() {

So, if your LG-string contains variables that might change, just call LG_reapply() to evaluate the LG string again, just as if this object has been newly created.

Getting started

Raptor Tools (Work in Progress)

Raptor Free Modules

Image Raptor Pro Modules

Image Raptor Pro Libraries

Clone this wiki locally