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

UniqueIDs

Evan

A splendid one to behold
Senator
Premium User
Joined
May 6, 2009
Messages
7,018
Solutions
1
Reaction score
1,040
Location
United States
On my map, I have a dice that doesn't get moved because it has a uniqueID, but I have a script that removes the dice for x-reason and re-creates the dice for x-reason, but since there's no function that sets a uniqueID to an item, what can I do to make the item not movable?
 
On my map, I have a dice that doesn't get moved because it has a uniqueID, but I have a script that removes the dice for x-reason and re-creates the dice for x-reason, but since there's no function that sets a uniqueID to an item, what can I do to make the item not movable?

LUA:
doItemSetAttribute(item, 'uid', 1000)
That gives the item uid 1000 :p
 
Back
Top