Aller au contenu

Photo

Persistent Placeable Inventory When Item Added To It in game?


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

#1
Ryuhi2000

Ryuhi2000
  • Members
  • 97 messages
Would it be possible to make a chest and have it persistently save the contents as long as the player has a integer set to 1 on them?

What i'm trying to do is make this chest so any member of the guild in game can add an item to it and the chest will persistently store that item. So let say the server resets any member of the guild can open the chest and they will still see all the items.

#2
Greyfort

Greyfort
  • Members
  • 234 messages
Yes two ways one, make a unique chest with resref tag, then when save you can use nwndb and store campaign object, or get item resref and store that in DB store campaign String.

To see if player part of guild they could have a Item, or you could store a DB var on them.

#3
Ryuhi2000

Ryuhi2000
  • Members
  • 97 messages
true not sure how well i would be able to do either of those tho.

i mean i might be getting the ability to modify my guild hall in the one server and i kinda wanted to make a guild bank placeable/ or storage npc that only my character named "Guild_Name_Goes_Here Bank" can remove items however everyone can add items to it. so i would then have to login on my bank character to get the items for whatever member of the guild

#4
Kato -

Kato -
  • Members
  • 392 messages
Guild chests already exist in some guild systems available on the vault, it might be a good place to start.

Tweaking a guild chest so that only a player named <whatever> can access it's content is very easy once your guild system is installed and integrated. I'll be happy to help if you need.

Kato

Modifié par Kato_Yang, 21 juin 2011 - 09:33 .


#5
Ryuhi2000

Ryuhi2000
  • Members
  • 97 messages
Edit: Yeah and all the guild systems i looked at had many scripts and the single thing i found which was just guild storage has a few known issues that would be enough for me to say nope not using http://nwvault.ign.c....Detail&id=2246

Will pm you Kato

Kato_Yang wrote...

Guild chests already exist in some guild systems available on the vault, it might be a good place to start.

Tweaking a guild chest so that only a player named <whatever> can access it's content is very easy once your guild system is installed and integrated. I'll be happy to help if you need.

Kato


Modifié par Ryuhi2000, 21 juin 2011 - 10:19 .