PDA

View Full Version : GetUpLevel



n3ss3s
01-22-2008, 05:16 PM
parses the level of an NPC / Player from the uptext.


Function GetUpLevel: Integer;
Begin
Result := StrToIntDef(Between('-', ')', GetUpText), 0);
End;



Usages: if you know some creature is specific level, but there are many of the same kind, lets say there were 5 same looking knights, but one of them is the head knight, and they had the same uptext except for the level, you could use this to find the head knight.

How to: Move mouse on the object and call this.



Function GetUpLevel: Integer;
Begin
Result := StrToIntDef(Between('-', ')', GetUpText), 0);
End;

yanix
01-22-2008, 05:23 PM
Ty for making this:)