Jump to content

[LE] How to make lockpicking getting exp with pickpocketing


Recommended Posts

One solution:

Assuming you only care about gaining experience from successful pickpockets

Use the event OnTrackedStatsEvent Do note that I have not used this event before. The wiki page does give a warning that some stats do not track properly. You will need to test to see if this is doable or not.

 

Example:

 

 

String Property mySkill = "Lockpicking" Auto ;property so it can be reassigned in CK if desired
Float Property myAmount = 1.0 Auto ;property so it can be reassigned in CK if desired

Event OnInit()
    RegisterForTrackedStatsEvent()
EndEvent

Event OnTrackedStatsEvent(string asStat, int aiStatValue)
    If asStat == "Pockets Picked"
        Game.Advanceskill(mySkill,myAmount)
    EndIf
EndEvent

Link to comment
Share on other sites

  • Recently Browsing   0 members

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