http://yanflychannel.wordpress.com/rmvxa/battle-scripts/combat-log-display/
To show only 50 data?
Too much information will be LAG
To show only 50 data?
Too much information will be LAG
def add_line(text)
return if text == "-" && @data[@data.size - 1] == "-"
@data.push(text)
# vv Add this line to remove early entries so there are no more than 50 items in the log
@data.delete_at(0) while @data.size > 50
end
Original thread: https://forums.rpgmakerweb.com/threads/combat-log-display-help.15178/