I am just going off of the list of Quest Objects from the Wiki here:
http://www.eqemulator.net/wiki/wikka...a=QuestObjects
I don't see anything there that will do what I need exactly. Unless maybe more were added that just aren't in the Wiki yet.
What I really need is either a way for an NPC to somehow identify it's corpse via exact name or entity ID, or a way to have the script look at all corpses in the zone.
I am not at home right now, but maybe something like this would work to have it check all corpses in the zone:
Code:
my $deadnpc = $entity_list->IsNPCCorpse();
if ($deadnpc->IsEmpty()) {
my $delete_corpse = $deadnpc->CastToCorpse();
$delete_corpse->SetDecayTimer(1); }
I am doubtful, as I don't think that is actually getting anything, but rather for checking if it is a corpse or not. I will test it later tonight. But, I am definitely open to suggestions