Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:LogDisplayScrollToBottom

From RoR Wiki

UI Lua API · LogDisplay functions
Version: WAR 1.4.8

Scrolls a LogDisplay window to its newest line.

LogDisplayScrollToBottom(displayName)

Arguments

displayName
string – Name of a LogDisplay window.

Returns

Nothing.

Errors

  • Error in function call 'LogDisplayScrollToBottom': Window %s does not exist
  • Error in function call 'LogDiplayScrollToBottom': Window %s is not a TextLogDisplay
    Note the misspelling LogDiplay in this message.

Example

From ea_siegeweaponwindow/source/siegeweapongeneralfirewindow.lua:

LogDisplayScrollToBottom( "SiegeWeaponGeneralFireWindowChatLogDisplay" )

See also