Jump to content

Need Help With Scripting a Mod That Turns People Into Skeletons


Omny

Recommended Posts

I've been on and off trying to make a mod that makes human NPCs turn into charred skeletons when killed by energy weapons. I have the skeletons themselves all set to go:

2126434-1605028690.jpg

 

But trying to actually make a script that works is making me rip my hair out in frustration. I've tried dozens of times to make a script that works but all my efforts thus far have been fruitless.

 

I've only recently managed to write a script that will actually save in the GECK, and it still doesn't do anything in-game! This is the script I have thus far:

 

ScriptName OMNYLaserSkeletonizerScript

Begin OnHitWith WeapLaserPistol

additem OMNYLaserSkellySuit 1
equipitem OMNYLaserSkellySuit 1

end

 

Compared to all my other attempts this is smaller and simpler, something to build off of until I get it to do exactly what I want. Basically, all the skeletons here are non-playable outfits that turn people into skeletons when equipped. This script should make someone turn into a skeleton when hit with a laser pistol (not killed, just hit) but in game, nothing happens.

 

Can anyone help me? I feel like I've hit a dead end with scripting and it's really stressing me out. I'm a hair's breadth away from just giving up at this point.

Edited by Omny
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...