Page 1 of 1

game.settile

Posted: Tue Mar 04, 2014 10:11 pm
by resetUniverse
Hey guys,
does anyone know how the command "game.settile" works?
I didn't find any documentation.
thank you for your time :)

Re: game.settile

Posted: Tue Mar 04, 2014 10:18 pm
by ficolas
The arguments are a table containing tables with the tiles you want to set,so:
Game.settile{{name="sand",position={0,0}}, {name="sand",position={0,1}}}
I specified two but you can put as much as you want

Re: game.settile

Posted: Wed Mar 05, 2014 3:27 pm
by resetUniverse
Thank you, it worked :)
but we both had a little typo. It's "game.settiles"