Jump to content

[LE] Script help


Yelang

Recommended Posts

I am trying to make a lesser power that increase the enchanting skill by 5 upon use with the proper xp (like a trainer or incpcs console command). So I made a fire and forget magic effect of script archtype and attached the following to it:

 

Scriptname TrainEnchanting extends game
Event OnEffectStart(Actor Target, Actor Caster)
Game.IncrementSkillBy("Enchanting", 5)
endEvent
It compiles without a problem but the lesser power does nothing regardless. So is it something wrong with my script (some properties needed perhaps?) or are there other things to consider in the magic effect itself?
Link to comment
Share on other sites

  • 1 month later...

ok after some trials and errors and searching a bit I managed to solve the problem myself. In case anyone wants to know I had to change "extends game" to "extends activemagiceffect" and also check "Recover", "No duration" and "No Area" on magic effect page.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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