Author Topic: Destroying and recreating an item  (Read 759 times)

Legacy_Wall3T

  • Hero Member
  • *****
  • Posts: 748
  • Karma: +0/-0
Destroying and recreating an item
« Reply #15 on: February 10, 2016, 05:18:45 pm »


               

hey everyone i've since fixed the problem, so i havent replied to everyone's comments.


 


Ive removed all resemblance of the script on the npc and made him teleport the player to their designated base. A second npc is there that will now speak to the PC, and give them the token they require.


 


It eliminates any hassle of my original plan, which seemed to require more than what the game was capable of. thanks for everyone's replies!



               
               

               
            

Legacy_Tchos

  • Sr. Member
  • ****
  • Posts: 454
  • Karma: +0/-0
Destroying and recreating an item
« Reply #16 on: February 10, 2016, 06:02:34 pm »


               


Yes, if the blueprint is typed with any capitals, the resref will still be all lowercase and thus different. This is default Toolset behavior.  Given the way it behaves it is very easy for someone to create a blueprint, see that the tag is carried over, and come to the false conclusion that they are in fact the same.  I think that is what the OP is experiencing.




 


I must say I was not aware that the NWN1 toolset exhibits that undesirable behaviour.  It is not that way at all in NWN2.



               
               

               
            

Legacy_Wall3T

  • Hero Member
  • *****
  • Posts: 748
  • Karma: +0/-0
Destroying and recreating an item
« Reply #17 on: February 10, 2016, 08:41:27 pm »


               

I'm not aware of this myself... and as to correct any misinformation should be spread about this, i have enclosed an image pertaining to the item. you can clearly see both the tag and the resref are spelled the same, all lower cased and addressed correctly.


 


regardless the item is being distributed properly now, and will continue to do so for now on '<img'> '<img'>


 


axfell_token_zpsgylni0hw.jpg


 


If the image is rather small i apologize, it was done on short notice!



               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Destroying and recreating an item
« Reply #18 on: February 10, 2016, 11:13:53 pm »


               

To fully correct this. The tag can contain both upper and lower case letters. The resref can only have lower case letters. Both can (and very often do) contain numerals and sometimes underscores. Should you copy and paste a string that has upper-case characters into a resref, the toolset will automatically convert the offending characters to lower case. One major difference between the two is that the resref is restricted to 16 (I think - this is from memory) characters and the tag is not.


 


TR



               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
Destroying and recreating an item
« Reply #19 on: February 12, 2016, 12:39:34 am »


               


I'm not aware of this myself... and as to correct any misinformation should be spread about this, i have enclosed an image pertaining to the item. you can clearly see both the tag and the resref are spelled the same, all lower cased and addressed correctly.




 


Odd, from your original post the resref ended in a double "l" in the DestroyObject() command, while your screenshot only has it ending in a single "l" for both tag and resref.