[HELP/TIPS] How to get parts by CharacterType

Results 1 to 2 of 2
  1. #1
    Valued Member Luizinrc is offline
    MemberRank
    Jun 2015 Join Date
    Ice SpaLocation
    131Posts

    idea [HELP/TIPS] How to get parts by CharacterType

    Item example:

    Name => Basic Head
    TypeID => 134218752

    this item is from nuri, how can i get a flag?
    Last edited by Luizinrc; 08-01-20 at 12:30 PM. Reason: update txt


  2. #2
    Valued Member Luizinrc is offline
    MemberRank
    Jun 2015 Join Date
    Ice SpaLocation
    131Posts

    Re: [HELP/TIPS] How to get parts by CharacterType

    unanswered again,
    but I found my own answer:

    // use in Part.iff
    Code:
      public uint GetCharacterType ()
     {
      return ((uint) ((TypeId & 0x3fc0000) / Math.Pow (2.0, 18.0)));
     }



Advertisement