Aller au contenu

Photo

Refreshing the character sheet


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Kato -

Kato -
  • Members
  • 392 messages
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 :(

Thank you


Kato

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


#2
Baragg

Baragg
  • Members
  • 271 messages
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.

#3
Kato -

Kato -
  • Members
  • 392 messages
Thanks Baragg, I guess I have no choice since I have not found a better way yet to refresh the sheet.

Kato

#4
Morbane

Morbane
  • Members
  • 1 883 messages
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?

#5
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
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.

#6
Morbane

Morbane
  • Members
  • 1 883 messages
My bad - I guess the similarity of script is as far as the similarity goes. Too bad I suppose.