Skip to content

PC Properties

I know that PC Properties is a skin object which is attached to a player. I am trying to think of what the function would be which would allow me to access it in order to write variables to it. My goal is a simple way of saving data for a multiplayer game. One which will expand as we go along preventing us from loosing Quest Data. It is my belief that combined with saving the characters to the vault is the simplest solution.

Advice (with examples) would be appreciated. Pseudo code I picture it something like:

Set variable to player’s skin.
Get player’s skin look at variable.

Arawn

Comments

  • meaglynmeaglyn Member Posts: 149
    What you are looking for is in the include file x3_inc_skin.nss.

    Saving to the skin works well for pc specific persistence. You may need to disable ELC though.

    Cheers,
    meaglyn
  • CaomhCaomh Member Posts: 40
    Thank you for your contribution Meaglyn,
    The functions involved seem to be documented on NWN lexicon. It looks like by using GetSkinInt and SetSkinInt I should be able to check the character’s quest status. And set it to the new value as the quest progresses.
Sign In or Register to comment.