Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:TextLogDestroy

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

Removes a text log that was created with TextLogCreate.

TextLogDestroy(logName)

Arguments

logName
string – Name of the text log.

Returns

Nothing.

Details

  • The log and all its entries are freed. Later calls that name the log raise Text Log %s does not exist errors.
  • Only logs created by TextLogCreate can be destroyed. For the client's own logs ("Chat", "Combat", "System" and so on) the call does nothing.
  • If no log with this name exists, the call does nothing. No error is raised.

Errors

None. Only the usual Invalid Parameters error for a wrong argument type.

Example

From interfacecore/source/eularocwindow.lua:

function EA_Window_EULAROCPopup.Shutdown()
    TextLogDestroy("EULAROCLog")
end

See also