Jump to content

[LE] Having Trouble with Adding Lesser Ability Through Script on Food Item


Gabricuss

Recommended Posts

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 by Gabricuss
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...