• 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!

Create item with aid/uid

phern

alysiaots.com
Joined
Nov 2, 2008
Messages
220
Reaction score
96
Location
Poland
As title says: I need the lua action to create an item with unique id or action id. (eg. lever with uid:10000 on title 1000/1000/7)
Thanks in advance.
 
Code:
doItemSetAttribute(doCreateItem(1945, 1, {x=1000, y=1000, z=7}), "uid", 10000)
or
Code:
local thing = doCreateItem(1945, 1, {x=1000, y=1000, z=7})
doItemSetAttribute(thing, "uid", 10000)
 

Similar threads

Back
Top