Well I tried making an include with the function, and then put a delay on its use but there is still a "glow" highlight left on the ground.
This is what the corpse cleaning function looks like, pretty standard
void CleanCorpse()
{
object oItem = GetFirstItemInInventory(OBJECT_SELF);
while(GetIsObjectValid(oItem))
{
DestroyObject(oItem);
oItem = GetNextItemInInventory(OBJECT_SELF);
}
DestroyObject(OBJECT_SELF);
}
Destroys all items, then the object itself. Not sure what's causing the highlight 'glow' or how to remove it.
Modifié par EzRemake, 25 octobre 2012 - 05:35 .