• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Creating not existing floor

pszczelaszkov

Member
Joined
May 4, 2011
Messages
74
Reaction score
8
Location
pila/poland
I need to make automated builiding houses but i have problem with roofs.
Because when i try:
Code:
position={x=981,y=1082,z=6,stackpos=0}
doCreateItem(724,position)
I cant create a ground because this tile not exist.
Code:
[Error - Action Interface] 
data/actions/scripts/test.lua:onUse
Description: 
(luaDoCreateItem) Tile not found
Is there any way to do it in lua or i must add new function in c++ that creates a tile?
 
Back
Top