Sweet6Shooter Posted February 6, 2021 Share Posted February 6, 2021 This is for a mod that creates an ingestible which damages player health and endurance, but adds a blood pack to the player's inventory. The penalties are working, but it's not adding a blood pack or the other items from the script.I copied the Blood Pack ingestible, it's a food equipment type, no auto calc flag makes no difference. Effects are, in order, sssBloodDrawEffect0 magnitude+duration type selfactor value nonecond: subject: getisid player reduce endurance1 magnitude, 360 duration damage health 5 mag, 5 duration sssBloodDrawEffectFlags: selfassoc. script sssBloodDrawSCRIPT sssBloodDrawScriptscn sssBloodDrawSCRIPT Begin ScriptEffectStart Player.AddItem SurgicalSyringe01 1 Player.AddItem SurgicalScissors01 1 Player.AddItem BloodPack 1 End NVSE is editor enabled, script compiled with no issues.I originally put the script in the ingestible's script field, but then the game thought it was a poison and demanded that a poisonable weapon be equipped.It seems like everything should work, and I've just missed something in a stupid oversight. I'd really love any help that anyone can provide. Link to comment Share on other sites More sharing options...
GamerRick Posted February 6, 2021 Share Posted February 6, 2021 Look at how the game gives you a cap when you ingest a NukaCola. Link to comment Share on other sites More sharing options...
ashtonlp101 Posted February 6, 2021 Share Posted February 6, 2021 (edited) Did you mark your script under the âeffectsâ tab on the top of the script editor? EDIT: Sorry, misread it and thought you said the script won't compile. Edited February 7, 2021 by ashtonlp101 Link to comment Share on other sites More sharing options...
dudemanpersonbro Posted February 8, 2021 Share Posted February 8, 2021 (edited) you have two effects named sssBloodDrawEffect, maybe thats doing something? but either way your script should theoretically run if nothing else, try this (probably wont do anything): remove "player" from the script and see if it works. i.e: Player.AddItem SurgicalSyringe01 1 Player.AddItem SurgicalScissors01 1 Player.AddItem BloodPack 1 to AddItem SurgicalSyringe01 1 AddItem SurgicalScissors01 1 AddItem BloodPack 1 Edited February 8, 2021 by dudemanpersonbro Link to comment Share on other sites More sharing options...
ashtonlp101 Posted February 8, 2021 Share Posted February 8, 2021 Dude may be right, I think adding "player" may screw up scripted effects if the effect is set to "self" as it should be. Link to comment Share on other sites More sharing options...
Sweet6Shooter Posted February 9, 2021 Author Share Posted February 9, 2021 Thanks for the input, everyone. It turned out the issue was that the effect type wasn't set to self, once I used Med-Tek Trauma's doctor bag as an example, it started working and I realized that it was the flag on the base effect entry. Link to comment Share on other sites More sharing options...
Recommended Posts