CommodoreBlitz Posted January 26, 2011 Share Posted January 26, 2011 (edited) I am working on a mod that I'd like to add some gambling to, now the results of the event to be bet on is random. So how to setup a way to bet on the event and then have the game figure out the winner of the event and then if the player did bet on the winner how to pay out the winnings.... An example.. Say I make a set of tracks with Geckos in it each enclosed in there own track sepret from the other, before the race the player would pick the one he wants to bet on then Now the player would have bet on the one he wants to win (perhaps each one is of a different color or type etc ) at a set time Bang they all run down the track and one wins the race, if the winner is the same as the player picked before the race then the player would get a pay of caps, if the player did not pick the winner then he would then lose his bet. Now the only scrypting I have done so far is to make a go from point a to b then fight then go to point c and get quest reward, so I have know idea to implement this idea. If you have some idea how to do this I would take any help i can get. I am skilled enough to set everything up except how to get the betting and payout and how to trigger the start of the race..(I have experimented a little I can setup the "race" but it starts as soon as you load the game tho.. Edited January 26, 2011 by ralf1234 Link to comment Share on other sites More sharing options...
Recommended Posts