Gabricuss Posted November 22, 2021 Share Posted November 22, 2021 (edited) EDIT: I did some digging and found the script used for Esbern's Blades potion - I copied what it did and it did the trick :D I'm pretty new to modding, and I've been testing a setup so that when a food item (Argonian Ale) is used, it adds an ability to the player, but I've been having trouble somewhere to where it isn't triggering - I believe that it's the script, as the debug message I tried shows that the script is properly set up to fire Basically, the script is bound to a magic effect, and said script is set to give the player an ability Here's the ability I made to test And here's script I've set up: ScriptName _GBC_TASTEFULSCRIPTtestabilitygrant extends ActiveMagicEffect Spell Property _GBCTASTE_123testgiveperk Auto Event OnEffectStart(Actor akTarget, Actor akCaster) akTarget.AddSpell(_GBCTASTE_123testgiveperk) EndEvent If anyone has any advice, it'd be greatly appreciated, and I'm more than happy to provide any more info if need be - thank you for your time :D Edited November 23, 2021 by Gabricuss Link to comment Share on other sites More sharing options...
Tlam99 Posted November 22, 2021 Share Posted November 22, 2021 The spell grants the perk, so you need to cast the spell, not add Link to comment Share on other sites More sharing options...
Recommended Posts