Detect mob tame

Angery Woodpecker

New member
Messages
12
Points
0
Emulator
Hello,

so here is the whole story: we had this specific monster that could spawn only at night, so we made a script that checks every 10 minutes if it is night, then spawn the said monster. The problem is that this monster is for a quest, and it is required to tame this monster, but it seems that the ::OnKill event wasn't triggered this way, so we had to put another check there to count how many mobs are alive.

tl;dr

is there anyway to detect if a monster was tamed via script?
I think it would require a source modification, but not sure where (thought this is a harder solution for a specific problem).

Thanks :smile:

 
Back
Top