Author Topic: Base Item index  (Read 319 times)

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Base Item index
« on: July 13, 2013, 09:09:29 pm »


               Is there any way to find the index of an item without nwnx. You know the number is using for it icon and base model. Like Miscellaneous Small?
               
               

               
            

Legacy_Squatting Monk

  • Hero Member
  • *****
  • Posts: 776
  • Karma: +0/-0
Base Item index
« Reply #1 on: July 13, 2013, 09:35:17 pm »


               Is GetBaseItemType() what you're looking for?
               
               

               


                     Modifié par Squatting Monk, 13 juillet 2013 - 08:36 .
                     
                  


            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Base Item index
« Reply #2 on: July 13, 2013, 10:20:18 pm »


               No, that just give you the base item. I want the current index of that base item. 0-255 range. We can manipulate the index with CopyItemAndModify function. Opps I think I found it. GetItemAppearance duh sorry:blink:
               
               

               


                     Modifié par ShadowM, 13 juillet 2013 - 09:25 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Base Item index
« Reply #3 on: July 13, 2013, 10:22:43 pm »


               I think    GetItemAppearance is what you are looking for.  You may have to use it with GetItemType and a  2da read to get the modle type.  It has been a long time,  I do not remember at thee monent. 
               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Base Item index
« Reply #4 on: July 13, 2013, 10:26:14 pm »


               Yep, thanks lightfoot cannot believe I missed it ugh