Omny Posted November 10, 2020 Share Posted November 10, 2020 (edited) 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: 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 OMNYLaserSkeletonizerScriptBegin OnHitWith WeapLaserPistol additem OMNYLaserSkellySuit 1 equipitem OMNYLaserSkellySuit 1end 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 November 10, 2020 by Omny Link to comment Share on other sites More sharing options...
ashtonlp101 Posted November 12, 2020 Share Posted November 12, 2020 This may seem like stupid clarification but I've done it a few times before, is the script attached to an NPC? Link to comment Share on other sites More sharing options...
GamerRick Posted November 15, 2020 Share Posted November 15, 2020 (edited) JSawyer may have something similar. I believe a quest script scans for containers (which NPCs are too) and replaces Stimpaks with expired ones. Edited November 15, 2020 by GamerRick Link to comment Share on other sites More sharing options...
yojeff Posted November 20, 2020 Share Posted November 20, 2020 As a test, what happens if you put RemoveAllItems before you add the suit? Link to comment Share on other sites More sharing options...
Recommended Posts