Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:TextLogGetEnabled

From RoR Wiki
Revision as of 19:50, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI Lua API · TextLog functions
Version: WAR 1.4.8

Returns whether a text log accepts new entries.

enabled = TextLogGetEnabled(logName)

Arguments

logName
string – Name of the text log.

Returns

enabled
boolean – true if the log is enabled.

Details

Errors

  • Error in function call 'TextLogGetPressedFlag': TextLog %s does not exist.
    The message names TextLogGetPressedFlag, not this function.

Example

From ea_uidebugtools/source/debugwindow.lua:

if( IsInternalBuild() and (InterfaceCore.inGame == false) and TextLogGetEnabled( "UiLog" ) )

See also