bpm91
Intermediate OT User
- Joined
- May 23, 2019
- Messages
- 931
- Solutions
- 7
- Reaction score
- 128
- Location
- Brazil
- YouTube
- caruniawikibr
Does anyone know why this error occurs in tfs? I've tried several settext formats but haven't found a solution.
when my item needs to be reborn with the text, it just doesn't remake the document on top with the text inside.
when my item needs to be reborn with the text, it just doesn't remake the document on top with the text inside.
Lua:
local function recreateParchment(position)
local item = Tile(position):getItemById(1953)
if item then
item:setActionId(60999)
else
local parchment = Game.createItem(1953, 1, position)
if parchment then
parchment:setText('Buried forever that he never shall return. Don\'t remove this seal or bad things may happen.')
parchment:setActionId(60999)
end
end
end