Page 1 of 1

Moving WallText into a variable

Posted: Tue Oct 02, 2012 11:08 am
by Drachir
Hopefully there is a simple answer, i've just not been able to find it yet :?

I just want to set a variable to the value of the Text set on a Wall.

Settiing it is ok using <object>:setWallText(<value>) but reading it is another matter.

Thanks in advance :D

Re: Moving WallText into a variable

Posted: Tue Oct 02, 2012 12:40 pm
by petri
Drachir wrote:Hopefully there is a simple answer, i've just not been able to find it yet :?
I just want to set a variable to the value of the Text set on a Wall.
Settiing it is ok using <object>:setWallText(<value>) but reading it is another matter.
Thanks in advance :D
WallText:getWallText() seems to be missing. I'll add it in the next version.

Re: Moving WallText into a variable

Posted: Tue Oct 02, 2012 12:47 pm
by Drachir
Brilliant.

I got around my problem by using a Global variable in the end, but getWallText() would be nice :)

Thanks very much