Results 1 to 2 of 2

Thread: GetUpLevel

  1. #1
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default GetUpLevel

    parses the level of an NPC / Player from the uptext.

    SCAR Code:
    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.


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

  2. #2
    Join Date
    Jun 2007
    Location
    Mianus
    Posts
    863
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ty for making this

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •