Moving WallText into a variable

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
Drachir
Posts: 17
Joined: Wed Aug 22, 2012 4:32 pm
Location: Southlands of UK

Moving WallText into a variable

Post 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
User avatar
petri
Posts: 1917
Joined: Thu Mar 01, 2012 4:58 pm
Location: Finland

Re: Moving WallText into a variable

Post 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.
User avatar
Drachir
Posts: 17
Joined: Wed Aug 22, 2012 4:32 pm
Location: Southlands of UK

Re: Moving WallText into a variable

Post by Drachir »

Brilliant.

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

Thanks very much
Post Reply