alexalexalex11314 Posted September 16, 2018 Share Posted September 16, 2018 Cannot figure it out how to make lockpicking getting exp with pickpocketing.What script should I write? any help please Link to comment Share on other sites More sharing options...
IsharaMeradin Posted September 16, 2018 Share Posted September 16, 2018 One solution:Assuming you only care about gaining experience from successful pickpocketsUse 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 More sharing options...
Recommended Posts