MasterAub Posted September 12, 2018 Share Posted September 12, 2018 Hi every one I want to check the number of time a player has purchase something with a given merchantSo I need to implement a counter in order to trigger the right topic Here is how I want to doThe player has 5 choices of purchase meaning 5 topic will appear and the player can choose randomly to purchase 1, 2, 3, 4, or 5, all or a combination of the 5 items by clicking on the related topic (hope it's clear)Each Topic disappear once the purchase is effective (because he can only purchase a given item once. So every time a topic is clicked au purchase is made. I need to keep track of what has been purchased. here how I am planing to do: I will place this script on each purchasable item Short DOFIVE; declared variableif DOFIVE < 5 Set DOFIVE == DOFIVE+1if DOFIVE == 5Setstage "MyTopic" to 60; whatever number Am I doing this the right way or how would you do this? Thanks for your help mate Link to comment Share on other sites More sharing options...
Recommended Posts