Page 1 of 1
How to display the value of a counter on a wall ?
Posted: Mon Mar 04, 2013 6:07 pm
by terkio
I wonder how it is done.
I saw this in RTC "Girth of life". At a place with a green button, a wall text that displays 0, a blue button.
When clicking on the green button, the wall text value increments. ( the blue, decrements ).
One can go far positive or far negative.
With RTC it is easy to have a counter do that, but I do not see how to display it's updated value as wall text.
Re: How to display the value of a counter on a wall ?
Posted: Mon Mar 04, 2013 8:24 pm
by Gambit37
Re: How to display the value of a counter on a wall ?
Posted: Mon Mar 04, 2013 8:25 pm
by Seriously Unserious
I'm guessing that the wall test has a game variable tied into it, much like the %PARTY_LEADER% variable I'm using in my current WIP. I'd like to know if anyone's made a list of all the game variables that can be accessed in any sort of speech, scroll, floor test or wall text messages, as I could use this info in myself.
EDIT: hey Gambit, that's exactly what I'm looking for. I guess we ended up double posting... shades of the Christmas story thread from a couple of months ago...

Re: How to display the value of a counter on a wall ?
Posted: Mon Mar 04, 2013 8:27 pm
by Gambit37
Always check the Wiki first, there's quite a lot of stuff in there...

Re: How to display the value of a counter on a wall ?
Posted: Mon Mar 04, 2013 8:33 pm
by Seriously Unserious
I guess I'm just not in the habit of looking there. I'll bookmark it's home page, that way I'll be more likely to look in it for answers to my questions before posting them here.
Re: How to display the value of a counter on a wall ?
Posted: Mon Mar 04, 2013 10:19 pm
by terkio
Thanks. I was not aware of RTC Substitution Strings.
it works perfect.
%VALUE:ref000302-1%
as text in my WALL TEXT with ref000303-1 the ID of my counter.
Sustitution strings example.
Posted: Tue Mar 05, 2013 3:46 pm
by terkio
Here is a tiny example dungeon about substitution strings in wall text, floor text , scroll.
Compass and Altimeter included.
http://twinfalls.free.fr/dejavu/Walltext.RTC
http://twinfalls.free.fr/dejavu/Walltext.txt