i need a Little advice.

METALGod32
09 Mar 2005, 12:54
Hey.

is there anyway to make it so when a player performs a action, then a script is ran and Randomly picks from a set of variables and then changes a stat variable depending on the outcome of the variable it picked?.



Thanks.

francisstokes
09 Mar 2005, 17:56
this would be quite a long way to do,but its the only way that i would do it.

1.Make a new numeric variable called "random" or something like that.make the contents $rand(1;10)$.replace the ten with the number of variables you wish to use.
2.when the player performs his/her action,make a conditional script to compare variables.in your first box type : %random% and in the second type 1.Then make your then script and put the desired effect.
3.do this for all the outcomes.

hope this helps.

P.S: If you need further advice,then email me at francis.stokes14@btinternet.com

METALGod32
09 Mar 2005, 19:15
Awesome that helps alot thanks :)