Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] no i mean are they both tables with members?

[DiscordArchive] no i mean are they both tables with members?

[DiscordArchive] no i mean are they both tables with members?

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
08-03-2022, 02:25 PM
#1
Archived author: Anchy • Posted: 2022-08-03T14:25:20.865000+00:00
Original source

no i mean are they both tables with members?
rektbyfaith
08-03-2022, 02:25 PM #1

Archived author: Anchy • Posted: 2022-08-03T14:25:20.865000+00:00
Original source

no i mean are they both tables with members?

rektbyfaith
Administrator
0
08-03-2022, 02:25 PM
#2
Archived author: Revision • Posted: 2022-08-03T14:25:26.990000+00:00
Original source

Yes
rektbyfaith
08-03-2022, 02:25 PM #2

Archived author: Revision • Posted: 2022-08-03T14:25:26.990000+00:00
Original source

Yes

rektbyfaith
Administrator
0
08-03-2022, 02:25 PM
#3
Archived author: Anchy • Posted: 2022-08-03T14:25:42.329000+00:00
Original source

its just the way that they are declared is different, one outside and one inside scope
rektbyfaith
08-03-2022, 02:25 PM #3

Archived author: Anchy • Posted: 2022-08-03T14:25:42.329000+00:00
Original source

its just the way that they are declared is different, one outside and one inside scope

rektbyfaith
Administrator
0
08-03-2022, 02:25 PM
#4
Archived author: Anchy • Posted: 2022-08-03T14:25:49.148000+00:00
Original source

so i thought maybe there was a difference there
rektbyfaith
08-03-2022, 02:25 PM #4

Archived author: Anchy • Posted: 2022-08-03T14:25:49.148000+00:00
Original source

so i thought maybe there was a difference there

rektbyfaith
Administrator
0
08-03-2022, 02:26 PM
#5
Archived author: Revision • Posted: 2022-08-03T14:26:08.762000+00:00
Original source

It just simplified things for me to create the table before populating it for the config options
rektbyfaith
08-03-2022, 02:26 PM #5

Archived author: Revision • Posted: 2022-08-03T14:26:08.762000+00:00
Original source

It just simplified things for me to create the table before populating it for the config options

rektbyfaith
Administrator
0
08-03-2022, 02:26 PM
#6
Archived author: Anchy • Posted: 2022-08-03T14:26:15.605000+00:00
Original source

oh okay
rektbyfaith
08-03-2022, 02:26 PM #6

Archived author: Anchy • Posted: 2022-08-03T14:26:15.605000+00:00
Original source

oh okay

rektbyfaith
Administrator
0
08-03-2022, 02:26 PM
#7
Archived author: buggedout • Posted: 2022-08-03T14:26:20.515000+00:00
Original source

haha nvm, it didnt work ^^
rektbyfaith
08-03-2022, 02:26 PM #7

Archived author: buggedout • Posted: 2022-08-03T14:26:20.515000+00:00
Original source

haha nvm, it didnt work ^^

rektbyfaith
Administrator
0
08-03-2022, 02:28 PM
#8
Archived author: Revision • Posted: 2022-08-03T14:28:22.276000+00:00
Original source

Did you try adding the print?
```
--Selection for NPC gossip
local function OnSelect(event, player, unit, sender, intid, code)
if (intid == 1) then
player:GossipMenuAddItem(0, "Just making sure that you want to turn on hardcore mode?? This will lock the character after death and you will no longer be able to play the character!!!", 0, 2)
player:GossipMenuAddItem(0, "NO TAKE ME BACK!", 0, 3)
player:GossipSendMenu(2, unit)
elseif (intid == 2) then
print('intid 2')
player:AddItem(hardCoreItem)
end
end
```

Notice the line above AddItem.
rektbyfaith
08-03-2022, 02:28 PM #8

Archived author: Revision • Posted: 2022-08-03T14:28:22.276000+00:00
Original source

Did you try adding the print?
```
--Selection for NPC gossip
local function OnSelect(event, player, unit, sender, intid, code)
if (intid == 1) then
player:GossipMenuAddItem(0, "Just making sure that you want to turn on hardcore mode?? This will lock the character after death and you will no longer be able to play the character!!!", 0, 2)
player:GossipMenuAddItem(0, "NO TAKE ME BACK!", 0, 3)
player:GossipSendMenu(2, unit)
elseif (intid == 2) then
print('intid 2')
player:AddItem(hardCoreItem)
end
end
```

Notice the line above AddItem.

rektbyfaith
Administrator
0
08-03-2022, 02:29 PM
#9
Archived author: Revision • Posted: 2022-08-03T14:29:33.724000+00:00
Original source

I also didn't include the else because I forgot but all you need is that one print line
rektbyfaith
08-03-2022, 02:29 PM #9

Archived author: Revision • Posted: 2022-08-03T14:29:33.724000+00:00
Original source

I also didn't include the else because I forgot but all you need is that one print line

rektbyfaith
Administrator
0
08-03-2022, 02:30 PM
#10
Archived author: Foe • Posted: 2022-08-03T14:30:46.770000+00:00
Original source

Wait, what exactly is the issue? You click the first dialogue option, then it closes before you get to the 2nd one? Or do you get to the 2nd dialogue, but it never gives you the item
rektbyfaith
08-03-2022, 02:30 PM #10

Archived author: Foe • Posted: 2022-08-03T14:30:46.770000+00:00
Original source

Wait, what exactly is the issue? You click the first dialogue option, then it closes before you get to the 2nd one? Or do you get to the 2nd dialogue, but it never gives you the item

Pages (3): 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)