I decided that I want to include a game log in the bottom of all of my passages.
So, if something happens to the character's stats, equipment, inventory or a quest is started or finished, the log in the bottom of the passage would show that.
The description of the area and the options the player's character has. These would be printed to that specific passage he or she is visiting currently and the game log below that would help me show text that is triggered if a status changes. I sometimes would like to display a passage in this log, which would send the player to a new passage to inform him/her of something and then using <<back>> the player could go back to the game.
Now, my problem is the length of the log. I don't want this to be too long. Maybe 8-10 lines. Before the text that was on the top would start to dissapear as new logging entries are being added by the game in the bottom of the log.
I already have a stowable right side and left side (default) UI and I would like to have this log to be stowable as well and slide into the bottom, when not needed.
My question is, how do I count the row of text that needs to be displayed and how do I present this logging screen in the bottom of my passages?
Thank you for your answers in advance!