List Skills by Value Script?

Post » Tue Dec 16, 2014 1:22 pm

I have a script written that checks the Player's stats and identifies which three skills have the highest value; but it is pretty long and cumbersome... And what I would like to do is expand it into something that would produce an ordered list of the Player's Skills from highest to lowest/alphabetical for same-level.

I was wondering if anyone had any ideas/thoughts how to do that in a decent/reasonable manner? I'm pretty sure there's a better way than how I'm doing it right now-- I basically check a skill, save it to a variable, check the next skill, if it's higher update the variable and so on; and then repeat that twice more with if-statements to check... as I say, it's a LOT of coding for a small task...

If anyone has any ideas, that'd be great :) I'm not going to be able to actually put the script to the test for a few days because my monitor is broken, but I'd like to at least have a bit of a head-start on the code :)

User avatar
Jessica Raven
 
Posts: 3409
Joined: Thu Dec 21, 2006 4:33 am

Return to V - Skyrim