Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] i did not change that yet, i should remove the end between initd1 and 2 and make if elseif befor ini

[DiscordArchive] i did not change that yet, i should remove the end between initd1 and 2 and make if elseif befor ini

[DiscordArchive] i did not change that yet, i should remove the end between initd1 and 2 and make if elseif befor ini

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
08-03-2022, 01:43 PM
#21
Archived author: Anchy • Posted: 2022-08-03T13:43:19.943000+00:00
Original source

ah yes i meant the event not the entry
rektbyfaith
08-03-2022, 01:43 PM #21

Archived author: Anchy • Posted: 2022-08-03T13:43:19.943000+00:00
Original source

ah yes i meant the event not the entry

rektbyfaith
Administrator
0
08-03-2022, 01:44 PM
#22
Archived author: buggedout • Posted: 2022-08-03T13:44:19.720000+00:00
Original source

yes i have 2 events with a 2
rektbyfaith
08-03-2022, 01:44 PM #22

Archived author: buggedout • Posted: 2022-08-03T13:44:19.720000+00:00
Original source

yes i have 2 events with a 2

rektbyfaith
Administrator
0
08-03-2022, 01:44 PM
#23
Archived author: buggedout • Posted: 2022-08-03T13:44:28.831000+00:00
Original source

should a change the second to 3?
rektbyfaith
08-03-2022, 01:44 PM #23

Archived author: buggedout • Posted: 2022-08-03T13:44:28.831000+00:00
Original source

should a change the second to 3?

rektbyfaith
Administrator
0
08-03-2022, 01:44 PM
#24
Archived author: Anchy • Posted: 2022-08-03T13:44:33.946000+00:00
Original source

```lua
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)
else if (intid == 2) then
player:GiveItem(hardCoreItem)
else
player:GossipComplete()
end
end```
rektbyfaith
08-03-2022, 01:44 PM #24

Archived author: Anchy • Posted: 2022-08-03T13:44:33.946000+00:00
Original source

```lua
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)
else if (intid == 2) then
player:GiveItem(hardCoreItem)
else
player:GossipComplete()
end
end```

rektbyfaith
Administrator
0
08-03-2022, 01:44 PM
#25
Archived author: Anchy • Posted: 2022-08-03T13:44:40.211000+00:00
Original source

have you tried something like this
rektbyfaith
08-03-2022, 01:44 PM #25

Archived author: Anchy • Posted: 2022-08-03T13:44:40.211000+00:00
Original source

have you tried something like this

rektbyfaith
Administrator
0
08-03-2022, 01:44 PM
#26
Archived author: buggedout • Posted: 2022-08-03T13:44:46.068000+00:00
Original source

and then change (intid == 2) to 3
rektbyfaith
08-03-2022, 01:44 PM #26

Archived author: buggedout • Posted: 2022-08-03T13:44:46.068000+00:00
Original source

and then change (intid == 2) to 3

rektbyfaith
Administrator
0
08-03-2022, 01:45 PM
#27
Archived author: buggedout • Posted: 2022-08-03T13:45:36.069000+00:00
Original source

ill try that
rektbyfaith
08-03-2022, 01:45 PM #27

Archived author: buggedout • Posted: 2022-08-03T13:45:36.069000+00:00
Original source

ill try that

rektbyfaith
Administrator
0
08-03-2022, 01:45 PM
#28
Archived author: Anchy • Posted: 2022-08-03T13:45:54.970000+00:00
Original source

what even is intid
rektbyfaith
08-03-2022, 01:45 PM #28

Archived author: Anchy • Posted: 2022-08-03T13:45:54.970000+00:00
Original source

what even is intid

rektbyfaith
Administrator
0
08-03-2022, 01:47 PM
#29
Archived author: Anchy • Posted: 2022-08-03T13:47:20.739000+00:00
Original source

oh i see
rektbyfaith
08-03-2022, 01:47 PM #29

Archived author: Anchy • Posted: 2022-08-03T13:47:20.739000+00:00
Original source

oh i see

rektbyfaith
Administrator
0
08-03-2022, 01:49 PM
#30
Archived author: Anchy • Posted: 2022-08-03T13:49:32.113000+00:00
Original source

i think yeah you dont need 2 Select functions
rektbyfaith
08-03-2022, 01:49 PM #30

Archived author: Anchy • Posted: 2022-08-03T13:49:32.113000+00:00
Original source

i think yeah you dont need 2 Select functions

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