Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:LogDisplayGetShowTimestamp

From RoR Wiki
Revision as of 19:46, 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 · LogDisplay functions
Version: WAR 1.4.8

Returns whether a LogDisplay window prints the time in front of each line.

show = LogDisplayGetShowTimestamp(displayName)

Arguments

displayName
string – Name of a LogDisplay window.

Returns

show
boolean – The value set by LogDisplaySetShowTimestamp.

Details

  • The stock UI never calls this function.

Errors

  • Error in function call 'TextLogGetShowTimestamp': Window %s does not exist
  • Error in function call 'TextLogGetShowTimestamp': Window %s is not a TextLogDisplay

Example

A minimal example built from the documented signature:

LogDisplaySetShowTimestamp( "MyLogDisplay", not LogDisplayGetShowTimestamp( "MyLogDisplay" ) )

See also