ghostfc3s Posted September 24, 2019 Author Posted September 24, 2019 (edited) GOT IT!!! thank you for holding my hand through this. Scriptname taunt extends ActiveMagicEffectPotion Property DontbeaPsycho Auto Const MandatoryEvent OnEffectStart( Actor akTarget, Actor akCaster ) If( Game.GetPlayer() != akTarget ) return EndIf Game.GetPlayer().AddItem(DontbeaPsycho , 1, True) EndEvent The script was compiling even with the errors, it was adding { at the start and end of the script } Edited September 24, 2019 by ghostfc3s
icestormng Posted September 24, 2019 Posted September 24, 2019 Hm.. that shouldn't compile but glad you have the script working now. Did you added the properties to the script?Here you choose the toggle item. Then you should get the toggle potion back when you "consume" it.
ghostfc3s Posted September 24, 2019 Author Posted September 24, 2019 Yes once I got the script compiling properly and correctly written I was able to then select the item from the drop down and it is work as it should. https://www.nexusmods.com/fallout4/mods/41275
Recommended Posts