demon088
#088 in the Horde
Hello OtLand!
I want to make a special book for my new vocation "Summoner", this book will show all the information about the summons, similar to a spellbook. I need to create a table within the script and write custom information.
I was trying with this, but didn't work.
I don't know how to create tables in lua with custom information, so I need a little help over here. Thanks for all the help!
BUMP!
I want to make a special book for my new vocation "Summoner", this book will show all the information about the summons, similar to a spellbook. I need to create a table within the script and write custom information.
I was trying with this, but didn't work.
Lua:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
table.sort(bestiary)
local line = ""
line = line .. "Summons for Level " .. 10 .. "\n"
end
text = text .. line .. " " .. Trained Bat - 25 - Speed attack .. "\n"
end
player:showTextDialog(item:getId(), text)
return true
end
BUMP!
Last edited by a moderator: