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 existError in function call 'LogDiplayScrollToBottom': Window %s is not a TextLogDisplay
Note the misspellingLogDiplayin this message.
Example
From ea_siegeweaponwindow/source/siegeweapongeneralfirewindow.lua:
LogDisplayScrollToBottom( "SiegeWeaponGeneralFireWindowChatLogDisplay" )
