open store options
#1
Posté 13 juin 2011 - 03:06
I am trying to find if there is a way of when a PC is opening a store to get it to open at a certain tab.
e.g. when opening a place that it opens to the Mics tab.
Can anyone help on this please?
Thanks,
Doomie
#2
Posté 13 juin 2011 - 03:44
You can have five different shops as well and open them based on variables and scripts. If you can get specific someone might be able to help you more.
#3
Posté 13 juin 2011 - 07:56
Impractical and pointless though, what do you need this for anyway?
Modifié par Xardex, 13 juin 2011 - 07:57 .
#4
Posté 13 juin 2011 - 07:59
#5
Posté 13 juin 2011 - 09:26
Would you like to see my wares?
yes...Buy...Armor
yes...Buy...Weapons
yes...Buy...etc
yes...Buy...misc
yes...Sell Items
then make stores with just items in tab you want. You could also add a Sell items and a store that only buys, then on close it sends items to store DB of type. so now when a player talks then chooses on open of the Buy stores it loads DB and wala you have items to buy.
this would be two scripts for each store a open to load db and a close to save db. and then on the sell store there would be a on close to transfer items to selected store db. this sell script would be the largest most intense one for you especialy if your storeing db objects
#6
Posté 13 juin 2011 - 10:52
Greyfort wrote...
Then with out a lot of scripting... make a conversation that seporates the stores by there tab...
Would you like to see my wares?
yes...Buy...Armor
yes...Buy...Weapons
yes...Buy...etc
yes...Buy...misc
yes...Sell Items
then make stores with just items in tab you want. You could also add a Sell items and a store that only buys, then on close it sends items to store DB of type. so now when a player talks then chooses on open of the Buy stores it loads DB and wala you have items to buy.
this would be two scripts for each store a open to load db and a close to save db. and then on the sell store there would be a on close to transfer items to selected store db. this sell script would be the largest most intense one for you especialy if your storeing db objects
This is what I have, they only have 2 options atm but no matter what I do, when they open they open in the clothing and armour tab and not in the misc in which all the items are in.
#7
Posté 14 juin 2011 - 12:14
Two make sure you have something in the misc tab before the store is opened. Not created into the tab while the store is being opened.
#8
Posté 14 juin 2011 - 02:05
Thanks





Retour en haut






