krimzin Posted December 24, 2009 Share Posted December 24, 2009 I need to know how to script a decapitation. Kinda like the mesmetron head explode script, but with dismember instead. I'm making a survival-horror mod, and I want a laser tripwire that's about neck level that you have to disable or you get your head sliced off. Anyone know? Link to comment Share on other sites More sharing options...
Cipscis Posted December 24, 2009 Share Posted December 24, 2009 Dismemberments can only be caused via script if the limb is set up so that it can be dismembered but can't explode. At the moment, at least, it's impossible to do this via script without preventing NPC's heads from ever exploding. Cipscis Link to comment Share on other sites More sharing options...
krimzin Posted December 24, 2009 Author Share Posted December 24, 2009 Hm.. But what if I used killactor (randomDummyNPC) 1 (for head) -1 (for no cause of death)if i had set the -1 to 0, it would cause an explosion, unless I could use 3 (blunt weapon)I dunno for sure, I just looked it up on the GECK site. I'll try it Link to comment Share on other sites More sharing options...
Cipscis Posted December 24, 2009 Share Posted December 24, 2009 The cause of death doesn't affect the type of dismemberment in any way. If you use KillActor with a limb specified, then the limb will be destroyed via explosion if possible. It will only be severed if the limb is severable but not "explodable". Cipscis Link to comment Share on other sites More sharing options...
krimzin Posted December 24, 2009 Author Share Posted December 24, 2009 well that sucks. Even if the COD is Poison? lol Maybe I can settle for explosion. Link to comment Share on other sites More sharing options...
Cipscis Posted December 24, 2009 Share Posted December 24, 2009 Yeah, the cause of death is only useful for GetCauseOfDeath. Other than that, it has no effect on anything. Cipscis Link to comment Share on other sites More sharing options...
krimzin Posted December 24, 2009 Author Share Posted December 24, 2009 Well, hey thanks anyway man. Kudos Link to comment Share on other sites More sharing options...
Recommended Posts