Show current player object
plen
08 Sept 2020, 11:51I would like to show who is the current player object in the game all the time.
Any way I could do so?
Thanks!

Mataeus
08 Sept 2020, 16:31I'm pretty clueless with code outside of the GUI, but if you go to this page:
http://docs.textadventures.co.uk/quest/
Scroll down to the User Experience section, and there are links to creating your own UI bits and bobs.
You can create a custom box to display any stat or variable you like, so that should give you what you need.
Someone more experienced will come along soon, don't worry 😄
plen
11 Sept 2020, 00:58Thanks!
http://docs.textadventures.co.uk/quest/command_pane.html
I used JS.setCommands to make that work.

Mataeus
11 Sept 2020, 06:15Great news! Glad you managed to find what you needed.
mrangel
11 Sept 2020, 06:57I would have suggested adding ext_alias
or name
to the player status attributes, but my phone crashed while I was typing. Sorry.
(When an object becomes the player, its alias is changed to "you" and its usual alias is saved in ext_alias, if I'm remembering correctly)