[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
Archived author: Anchy • Posted: 2022-08-03T13:43:19.943000+00:00
Original source
ah yes i meant the event not the entry
Archived author: buggedout • Posted: 2022-08-03T13:44:19.720000+00:00
Original source
yes i have 2 events with a 2
Archived author: buggedout • Posted: 2022-08-03T13:44:28.831000+00:00
Original source
should a change the second to 3?
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```
Archived author: Anchy • Posted: 2022-08-03T13:44:40.211000+00:00
Original source
have you tried something like this
Archived author: buggedout • Posted: 2022-08-03T13:44:46.068000+00:00
Original source
and then change (intid == 2) to 3
Archived author: buggedout • Posted: 2022-08-03T13:45:36.069000+00:00
Original source
ill try that
Archived author: Anchy • Posted: 2022-08-03T13:45:54.970000+00:00
Original source
what even is intid
Archived author: Anchy • Posted: 2022-08-03T13:47:20.739000+00:00
Original source
oh i see
Archived author: Anchy • Posted: 2022-08-03T13:49:32.113000+00:00
Original source
i think yeah you dont need 2 Select functions