View Full Version : Find Level
Mr_Bum
11-22-2008, 06:00 AM
Is there a SRL function for finding the level of the stat you want?
Method
11-22-2008, 06:07 AM
Yes, you can use GetSkillLevel, which can be found in GameTab.scar.
Mr_Bum
11-22-2008, 06:13 AM
thank you very much:)
Edit
does it return the level back as a number. I cant find it.
Edit
@Aser
Happy?
I do know that it does... I don't know how to use it though.
Also use edit instead of double posting. The edit button is on the bottom left of your posts.
Kyle Undefined
11-22-2008, 06:53 AM
GetSkillLevel(skill);
Replace "skill" with the one you want.
Example:
GetSkillLevel('Fletching')
Hope this helps ;)
~Camo
Tniffoc
11-22-2008, 02:04 PM
If your skill is by the minimap, you can also use this GetMMSkills or something along those lines. I always have to look it up in SRL or one of my old scripts.
Mr_Bum
11-23-2008, 12:01 PM
Is there a way i will be able to use this in a proggy. eg
Writeln('**************************************');
Writeln('Started on level = "What the GetSkillLevel was"');
Writeln('Gained ' +IntToStr(LevelsGained) + ' Levels');
Writeln('**************************************');
Method
11-23-2008, 05:07 PM
Yes, you could just keep track of the original stat in one variable, then keep incrementing another when a level was gained or if you check the level and it's greater than the previous one.
Griff
11-23-2008, 09:00 PM
Yes, when you could check the chat to see if there is a gained level. Very time that it does that, then you could put that +1. Then, in your proggie, you could put what you wrote above.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.