Decaptiated, ash pile, or normal corpse?

Post » Wed Jun 20, 2012 11:52 am

Can we detect if a dead body was decpatidated or is an ash pile?
User avatar
I’m my own
 
Posts: 3344
Joined: Tue Oct 10, 2006 2:55 am

Post » Wed Jun 20, 2012 2:26 pm

Not sure about decapitations, but ash piles are activators linked to the corpse. The corpse is hiden by the disintegration effect. I suppose you could determine if a body is disintegrated by it's alpha value. Anyway, searching for the activators (ash piles (two types), ghostly remains (three types) and ice piles), that are linked to the corpse should be easier.


EDIT: Now that I think about it, Decapitated heads are head parts. Surelly they will have some kind of link to the body and surelly also they will be few of them, to search for them by base ID.
User avatar
Andrew Tarango
 
Posts: 3454
Joined: Wed Oct 17, 2007 10:07 am

Post » Wed Jun 20, 2012 7:13 pm

I believe in Fallout there was actually a specific command for this... I don't remember it though, but I'm confident that it exists. Perhaps someone else will remember.
User avatar
John N
 
Posts: 3458
Joined: Sun Aug 26, 2007 5:11 pm

Post » Thu Jun 21, 2012 3:07 am

Thanks guys!

Unfortunately, I need something I can run on the Actor. E.g. actorRef.IsDecpatiated () or actorRef.IsAshPile ().
I need to prevent a player vampire from feeding off a decapitated body or a body that's been turned into ash.
User avatar
Victoria Bartel
 
Posts: 3325
Joined: Tue Apr 10, 2007 10:20 am


Return to V - Skyrim