Hi list,

i've ported my mod to ob-engine and now my NPC corpse fade after 5
seconds isn't working anymore. Does anyone have an idea what the last
function that is called after NPC death is? When i try to define a new
think-function Dying() at the end of the Event_Killed() function like:
SetThink( &Bla::Dying );
SetNextThink( gpGlobals->curtime + 5.0f );

void Dying()
{
        UTIL_Remove(this);
}

This works, but my death animation won't play anymore then. That is if i
 kill an NPC it just freezes and disappears after 5s.

So i would either need a command that resumes my animation or i would
have to know which function is called after death. I've tried figuring
it out myself, but i didn't find it.

Any help greatly appreciated :-)


Greets from Germany
xs57

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to