Taldrenites > Starfleet Command Mission Scripting

The relevance of fWait!

(1/1)

NuclearWessels:

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

d4v1ks:

--- Quote from: 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

--- End quote ---

Better later than never.
Thanks. ^^

Captain Adam:
 :o

Navigation

[0] Message Index

Go to full version