[DiscordArchive] I have a Lua script that supposedly has to be activated by a right click of an item. How do I bind t
[DiscordArchive] I have a Lua script that supposedly has to be activated by a right click of an item. How do I bind t
Archived author: adm • Posted: 2022-12-11T20:37:43.389000+00:00
Original source
I have a Lua script that supposedly has to be activated by a right click of an item. How do I bind that script to the item? Is it enough to add the name of the Lua script to the "ScriptName" column in the item_template?
Archived author: Foe • Posted: 2022-12-11T20:38:53.106000+00:00
Original source
No, the ScriptName column is not used at all with Eluna, you generally have an OnUse event tied to the item entry, then the item needs a trigger spell
Archived author: adm • Posted: 2022-12-11T20:40:36.424000+00:00
Original source
So there's no need to add anything extra in the DB, everything goes through the script?
Archived author: Honey • Posted: 2022-12-11T20:45:24.614000+00:00
Original source
if it's an existing item, yes
Archived author: adm • Posted: 2022-12-11T20:51:53.874000+00:00
Original source
Thanks!
Archived author: Stoned • Posted: 2022-12-11T22:01:24.227000+00:00
Original source
Hello Guys, any1 have a Eluna buff command script with Buff Animation ? Thank you