Dynaverse.net

Taldrenites => Starfleet Command Mission Scripting => Topic started by: NuclearWessels on March 23, 2007, 03:41:39 pm

Title: The relevance of fWait!
Post by: NuclearWessels on March 23, 2007, 03:41:39 pm

OK, this one is REALLY only of interest to scripters, but the way the fWait setting gets used to determine script likelihood is as follows

there is a 1/fWait chance the script will be considered for inclusion in the current mission list,
i.e. an (fWait-1)/fWait chance it will be discarded out of hand

So scripts with fWait of 1 are always examined,
fWait 2 gives a 50% chance of being considered
fWait3 gives a 33% chance of being considered,
etc (no apparent upper bound)

dave
Title: Re: The relevance of fWait!
Post by: d4v1ks on July 02, 2018, 05:08:01 pm

OK, this one is REALLY only of interest to scripters, but the way the fWait setting gets used to determine script likelihood is as follows

there is a 1/fWait chance the script will be considered for inclusion in the current mission list,
i.e. an (fWait-1)/fWait chance it will be discarded out of hand

So scripts with fWait of 1 are always examined,
fWait 2 gives a 50% chance of being considered
fWait3 gives a 33% chance of being considered,
etc (no apparent upper bound)

dave

Better later than never.
Thanks. ^^

(https://i.imgur.com/unAINCa.jpg)
Title: Re: The relevance of fWait!
Post by: Captain Adam on July 02, 2018, 06:50:23 pm
 :o