game.settile

Place to get help with not working mods / modding interface.
Post Reply
resetUniverse
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Mar 04, 2014 10:04 pm
Contact:

game.settile

Post by resetUniverse »

Hey guys,
does anyone know how the command "game.settile" works?
I didn't find any documentation.
thank you for your time :)

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: game.settile

Post 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

resetUniverse
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Mar 04, 2014 10:04 pm
Contact:

Re: game.settile

Post by resetUniverse »

Thank you, it worked :)
but we both had a little typo. It's "game.settiles"

Post Reply

Return to “Modding help”