Hello there.
Since it doesn't look as if I am getting any help here, I am trying to do a work around.
What I basically want to do, I have a variable that goes through the various categories of the database for items/weapons/armor. This is choosen at random as long as said item has been unlocked by the player. This whole system already works for chests, but for a shop with random items I need a bit help. I basically choose the item with a first variable at random according to my internal logic, but after that:
1.) I need to set the price of the chosen item as the value of a second variable. Is that possible and if it is, what do I need to do? I am pretty sure I can use script calls, but what exactly do I need?
2.) I also want to give the player the item when he buys it, so what script call do I need to give him the one referenced in the first variable?
Since it doesn't look as if I am getting any help here, I am trying to do a work around.
What I basically want to do, I have a variable that goes through the various categories of the database for items/weapons/armor. This is choosen at random as long as said item has been unlocked by the player. This whole system already works for chests, but for a shop with random items I need a bit help. I basically choose the item with a first variable at random according to my internal logic, but after that:
1.) I need to set the price of the chosen item as the value of a second variable. Is that possible and if it is, what do I need to do? I am pretty sure I can use script calls, but what exactly do I need?
2.) I also want to give the player the item when he buys it, so what script call do I need to give him the one referenced in the first variable?