pcaviator Posted September 4, 2015 Share Posted September 4, 2015 New to modding. I wonder is there a way to get the leveleditems list (say) as a formlist? Any way to access the leveled items properties via script? Link to comment Share on other sites More sharing options...
lofgren Posted September 4, 2015 Share Posted September 4, 2015 It is possible with SKSE functions, assuming these all work as intended: ; SKSE additions built 2015-05-24 00:46:48.937000 UTC int function GetChanceNone() native Function SetChanceNone(int chance) native GlobalVariable Function GetChanceGlobal() native Function SetChanceGlobal(GlobalVariable glob) native int Function GetNumForms() native Form Function GetNthForm(int n) native int Function GetNthLevel(int n) native Function SetNthLevel(int n, int level) native int Function GetNthCount(int n) native Function SetNthCount(int n, int count) native Link to comment Share on other sites More sharing options...
pcaviator Posted September 4, 2015 Author Share Posted September 4, 2015 Thankyou. I know about getNthForm etc. & would use this to interate a formlist. I just don't know how to access the game's leveled Items List. Link to comment Share on other sites More sharing options...
lofgren Posted September 4, 2015 Share Posted September 4, 2015 You would not use GetNthForm to iterate a formlist. You would use GetAt(). These functions were taken directly from the SKSE LeveledItem script. Link to comment Share on other sites More sharing options...
pcaviator Posted September 5, 2015 Author Share Posted September 5, 2015 (edited) I see now, thankyou. Edited September 5, 2015 by pcaviator Link to comment Share on other sites More sharing options...
Recommended Posts