Author Topic: Refreshing the character sheet  (Read 351 times)

Legacy_Kato -

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +0/-0
Refreshing the character sheet
« on: March 28, 2012, 09:47:12 pm »


               Hi,

Does someone know what would be the cleanest method for doing this? I'm using nwnx_cool to balance AB on some classes, so when the AB changes, the sheet does not refresh without either equipping/unequipping an item or relogging. So currently I swap an equipped item(the hide created by the horse system) with itself, thus nothing appears/disappears in or from the inventory and the sheet is refreshed, but this is not very clean, not mentioning that a player might wear nothing, not even the hide since I'm planning to remove the horse system from my mod...

EDIT: I have tried a function wich is supposed to do just that in nwnx_funcs but it did not work for me '<img'>

Thank you


Kato
               
               

               


                     Modifié par Kato_Yang, 28 mars 2012 - 09:01 .
                     
                  


            

Legacy_Baragg

  • Sr. Member
  • ****
  • Posts: 496
  • Karma: +0/-0
Refreshing the character sheet
« Reply #1 on: April 01, 2012, 12:36:30 pm »


               I suggest leaving the pc_skin in its' place. The players can't normally do anything with it, but a builder can use it for stuff.
               
               

               
            

Legacy_Kato -

  • Hero Member
  • *****
  • Posts: 747
  • Karma: +0/-0
Refreshing the character sheet
« Reply #2 on: April 01, 2012, 05:55:33 pm »


               Thanks Baragg, I guess I have no choice since I have not found a better way yet to refresh the sheet.

Kato
               
               

               
            

Legacy_Morbane

  • Jr. Member
  • **
  • Posts: 79
  • Karma: +0/-0
Refreshing the character sheet
« Reply #3 on: April 11, 2012, 10:22:02 am »


               I dont know much about xml management but there should be a way to call the char sheet xml through nwscript - maybe that will update it?
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Refreshing the character sheet
« Reply #4 on: April 11, 2012, 12:11:20 pm »


               NWN 1 does not use XML for the character sheet.  Or for anything.  You solution my work for NWN2, But I have never used nwn2 so do not know.
               
               

               
            

Legacy_Morbane

  • Jr. Member
  • **
  • Posts: 79
  • Karma: +0/-0
Refreshing the character sheet
« Reply #5 on: April 11, 2012, 10:54:15 pm »


               My bad - I guess the similarity of script is as far as the similarity goes. Too bad I suppose.