Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Was looking into eluna

[DiscordArchive] Was looking into eluna

[DiscordArchive] Was looking into eluna

rektbyfaith
Administrator
0
12-31-2024, 02:36 PM
#1
Archived author: Ryan Turner • Posted: 2024-12-31T14:36:42.788000+00:00
Original source

Was looking into eluna

`name = Item:GetName()`

If i place my ItemID as an argument `name = Item:GetName(31100)` will it return me that's item name?
rektbyfaith
12-31-2024, 02:36 PM #1

Archived author: Ryan Turner • Posted: 2024-12-31T14:36:42.788000+00:00
Original source

Was looking into eluna

`name = Item:GetName()`

If i place my ItemID as an argument `name = Item:GetName(31100)` will it return me that's item name?

rektbyfaith
Administrator
0
12-31-2024, 02:39 PM
#2
Archived author: Tereneckla • Posted: 2024-12-31T14:39:31.607000+00:00
Original source

no, GetName() is a method on an item object
rektbyfaith
12-31-2024, 02:39 PM #2

Archived author: Tereneckla • Posted: 2024-12-31T14:39:31.607000+00:00
Original source

no, GetName() is a method on an item object

rektbyfaith
Administrator
0
12-31-2024, 02:45 PM
#3
Archived author: Tereneckla • Posted: 2024-12-31T14:45:01.091000+00:00
Original source

`Global:GetItemTemplate(31100):GetName()` probably is the way to get the name out of an entry (there is no documentation for GetItemTemplate() so I am guessing)
rektbyfaith
12-31-2024, 02:45 PM #3

Archived author: Tereneckla • Posted: 2024-12-31T14:45:01.091000+00:00
Original source

`Global:GetItemTemplate(31100):GetName()` probably is the way to get the name out of an entry (there is no documentation for GetItemTemplate() so I am guessing)

rektbyfaith
Administrator
0
12-31-2024, 02:56 PM
#4
Archived author: Ryan Turner • Posted: 2024-12-31T14:56:54.193000+00:00
Original source


[Image: image.png?ex=690c0e76&is=690abcf6&hm=0a2...8b831f917&]
rektbyfaith
12-31-2024, 02:56 PM #4

Archived author: Ryan Turner • Posted: 2024-12-31T14:56:54.193000+00:00
Original source


[Image: image.png?ex=690c0e76&is=690abcf6&hm=0a2...8b831f917&]

rektbyfaith
Administrator
0
12-31-2024, 02:57 PM
#5
Archived author: Ryan Turner • Posted: 2024-12-31T14:57:30.466000+00:00
Original source

(im trying to add name of the item to the existing script) but i dont think it works the name one
rektbyfaith
12-31-2024, 02:57 PM #5

Archived author: Ryan Turner • Posted: 2024-12-31T14:57:30.466000+00:00
Original source

(im trying to add name of the item to the existing script) but i dont think it works the name one

rektbyfaith
Administrator
0
12-31-2024, 02:59 PM
#6
Archived author: Tereneckla • Posted: 2024-12-31T14:59:12.783000+00:00
Original source

ah, Global is not needed
rektbyfaith
12-31-2024, 02:59 PM #6

Archived author: Tereneckla • Posted: 2024-12-31T14:59:12.783000+00:00
Original source

ah, Global is not needed

rektbyfaith
Administrator
0
12-31-2024, 02:59 PM
#7
Archived author: Ryan Turner • Posted: 2024-12-31T14:59:49.846000+00:00
Original source

=o it works
rektbyfaith
12-31-2024, 02:59 PM #7

Archived author: Ryan Turner • Posted: 2024-12-31T14:59:49.846000+00:00
Original source

=o it works

rektbyfaith
Administrator
0
12-31-2024, 02:59 PM
#8
Archived author: Ryan Turner • Posted: 2024-12-31T14:59:57.252000+00:00
Original source


[Image: image.png?ex=690c0f2d&is=690abdad&hm=de3...d6bcf223c&]
rektbyfaith
12-31-2024, 02:59 PM #8

Archived author: Ryan Turner • Posted: 2024-12-31T14:59:57.252000+00:00
Original source


[Image: image.png?ex=690c0f2d&is=690abdad&hm=de3...d6bcf223c&]

rektbyfaith
Administrator
0
12-31-2024, 03:02 PM
#9
Archived author: Ryan Turner • Posted: 2024-12-31T15:02:39.091000+00:00
Original source

Are you abale if the log how many parameters it can take?

Dont seem to find the log in eluna wait this might be chathandler
rektbyfaith
12-31-2024, 03:02 PM #9

Archived author: Ryan Turner • Posted: 2024-12-31T15:02:39.091000+00:00
Original source

Are you abale if the log how many parameters it can take?

Dont seem to find the log in eluna wait this might be chathandler

Recently Browsing
 
Recently Browsing