Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] <@169121237539356673> OK, an interesting development. If I do this: ```lua

[DiscordArchive] <@169121237539356673> OK, an interesting development. If I do this: ```lua

[DiscordArchive] <@169121237539356673> OK, an interesting development. If I do this: ```lua

rektbyfaith
Administrator
0
05-13-2024, 12:56 PM
#1
Archived author: Michael Crilly • Posted: 2024-05-13T12:56:21.778000+00:00
Original source

<@169121237539356673> OK, an interesting development. If I do this: ```lua
local function OnGossipHello(event, player, object)
player:GossipClearMenu()

if(not player:HasQuest(40000)) then
player:GossipSendMenu(100, object, 1)
return
end

player:KilledMonsterCredit(40002)
objectBig GrinespawnOrUnsummon(2500)
end```

Then the cat is just like, "Greetings, <player>" (cats can talk now - deal with it.) If I then go and get the quest and then talk to the cat.... the despawn works exactly as you'd expect. The cat fades out and you're done. No dead body. So it's as if the despawn has to be on an object that has some sort of quest or something else tied to it?
rektbyfaith
05-13-2024, 12:56 PM #1

Archived author: Michael Crilly • Posted: 2024-05-13T12:56:21.778000+00:00
Original source

<@169121237539356673> OK, an interesting development. If I do this: ```lua
local function OnGossipHello(event, player, object)
player:GossipClearMenu()

if(not player:HasQuest(40000)) then
player:GossipSendMenu(100, object, 1)
return
end

player:KilledMonsterCredit(40002)
objectBig GrinespawnOrUnsummon(2500)
end```

Then the cat is just like, "Greetings, <player>" (cats can talk now - deal with it.) If I then go and get the quest and then talk to the cat.... the despawn works exactly as you'd expect. The cat fades out and you're done. No dead body. So it's as if the despawn has to be on an object that has some sort of quest or something else tied to it?

rektbyfaith
Administrator
0
05-13-2024, 12:56 PM
#2
Archived author: Michael Crilly • Posted: 2024-05-13T12:56:40.218000+00:00
Original source

Oh wait... no... there it is... it died lol
rektbyfaith
05-13-2024, 12:56 PM #2

Archived author: Michael Crilly • Posted: 2024-05-13T12:56:40.218000+00:00
Original source

Oh wait... no... there it is... it died lol

rektbyfaith
Administrator
0
05-13-2024, 12:56 PM
#3
Archived author: Michael Crilly • Posted: 2024-05-13T12:56:45.635000+00:00
Original source

That was a slow response haha
rektbyfaith
05-13-2024, 12:56 PM #3

Archived author: Michael Crilly • Posted: 2024-05-13T12:56:45.635000+00:00
Original source

That was a slow response haha

rektbyfaith
Administrator
0
05-13-2024, 12:57 PM
#4
Archived author: Michael Crilly • Posted: 2024-05-13T12:57:05.886000+00:00
Original source

So something is respawning the creature - probably the normal core mechanic.
rektbyfaith
05-13-2024, 12:57 PM #4

Archived author: Michael Crilly • Posted: 2024-05-13T12:57:05.886000+00:00
Original source

So something is respawning the creature - probably the normal core mechanic.

rektbyfaith
Administrator
0
05-13-2024, 12:57 PM
#5
Archived author: Michael Crilly • Posted: 2024-05-13T12:57:29.211000+00:00
Original source

Second cat was instant.
rektbyfaith
05-13-2024, 12:57 PM #5

Archived author: Michael Crilly • Posted: 2024-05-13T12:57:29.211000+00:00
Original source

Second cat was instant.

rektbyfaith
Administrator
0
05-13-2024, 12:57 PM
#6
Archived author: Foe • Posted: 2024-05-13T12:57:40.367000+00:00
Original source

yeah, despawn or unsummon will despawn it after a set amount of time, and then it'll respawn using the settings in the creature template
rektbyfaith
05-13-2024, 12:57 PM #6

Archived author: Foe • Posted: 2024-05-13T12:57:40.367000+00:00
Original source

yeah, despawn or unsummon will despawn it after a set amount of time, and then it'll respawn using the settings in the creature template

rektbyfaith
Administrator
0
05-13-2024, 12:57 PM
#7
Archived author: Foe • Posted: 2024-05-13T12:57:55.792000+00:00
Original source

when it's a static spawn, that is
rektbyfaith
05-13-2024, 12:57 PM #7

Archived author: Foe • Posted: 2024-05-13T12:57:55.792000+00:00
Original source

when it's a static spawn, that is

rektbyfaith
Administrator
0
05-13-2024, 12:58 PM
#8
Archived author: Michael Crilly • Posted: 2024-05-13T12:58:01.506000+00:00
Original source

I have those settings defined in my YAML now, so I'll fiddle with them
rektbyfaith
05-13-2024, 12:58 PM #8

Archived author: Michael Crilly • Posted: 2024-05-13T12:58:01.506000+00:00
Original source

I have those settings defined in my YAML now, so I'll fiddle with them

rektbyfaith
Administrator
0
05-13-2024, 01:05 PM
#9
Archived author: Foe • Posted: 2024-05-13T13:05:56.205000+00:00
Original source

<@595620700706832414>
rektbyfaith
05-13-2024, 01:05 PM #9

Archived author: Foe • Posted: 2024-05-13T13:05:56.205000+00:00
Original source

<@595620700706832414>

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