- Home /
Question by
SouL0HunteR · Nov 06, 2020 at 11:15 PM ·
login-game
How to create an in game log that records player actions?
I'm trying to do the above. I want to create a log that records player actions, e.g. if you select a chair, the text "this is a chair" appears in a textbox. But if I then selected a table, the text: "this is a chair" is replaced with: "this is a table", and the text about the chair appears in a textbox above it, creating a log of things the player has done.
I can get the chair and table text to appear in the first textbox, but I'm unable to get it to move to textbox above when a new object is selected.
Below is the code for the the "this is a chair" test code.
capture.png
(5.3 kB)
capture.png
(16.8 kB)
Comment