Forums WoW Modding Support Archives Azerothcore Discord Archives [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

[DiscordArchive] I have a Lua script that supposedly has to be activated by a right click of an item. How do I bind t

rektbyfaith
Administrator
0
12-11-2022, 08:37 PM
#1
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?
rektbyfaith
12-11-2022, 08:37 PM #1

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?

rektbyfaith
Administrator
0
12-11-2022, 08:38 PM
#2
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
rektbyfaith
12-11-2022, 08:38 PM #2

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

rektbyfaith
Administrator
0
12-11-2022, 08:40 PM
#3
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?
rektbyfaith
12-11-2022, 08:40 PM #3

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?

rektbyfaith
Administrator
0
12-11-2022, 08:45 PM
#4
Archived author: Honey • Posted: 2022-12-11T20:45:24.614000+00:00
Original source

if it's an existing item, yes
rektbyfaith
12-11-2022, 08:45 PM #4

Archived author: Honey • Posted: 2022-12-11T20:45:24.614000+00:00
Original source

if it's an existing item, yes

rektbyfaith
Administrator
0
12-11-2022, 08:51 PM
#5
Archived author: adm • Posted: 2022-12-11T20:51:53.874000+00:00
Original source

Thanks!
rektbyfaith
12-11-2022, 08:51 PM #5

Archived author: adm • Posted: 2022-12-11T20:51:53.874000+00:00
Original source

Thanks!

rektbyfaith
Administrator
0
12-11-2022, 10:01 PM
#6
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
rektbyfaith
12-11-2022, 10:01 PM #6

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

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)