Will58448 Posted February 17, 2020 Share Posted February 17, 2020 I've spent the last couple of days trying and failing to get what I thought would be a simple mod working. It does invlove some scripting, which I'll admit, I'm a complete novice with! I've been looking at how other mods do it as well as searching forums but can't seem to figure it out. I'm trying to add the survival mode disease parasites, to raw food. Eat raw meat, get parasites. So I've added the already existing magic effect 'HC_Disease_NeedMoreFood_Effect' to a raw meat, Bloatfly Meat for example. The actual potion also already exists - 'HC_Disease_NeedMoreFood'. I've created a new magic effect called 'HC_AddDisease_Parasites', and added a script to it: Scriptname ParasitesDiseaseScript extends ActiveMagicEffect Actor Property PlayerRef AutoPotion Property HC_Disease_NeedMoreFood auto Function ApplyPotionToActor() PlayerRef.Equipitem(HC_Disease_NeedMoreFood)EndFunction Nothing is happening so clearly I'm going wrong somewhere! Not sure if I'm close or I've done it completely wrong and am way off. Any help would be appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts