Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

Probability

From AGEWiki

Jump to: navigation, search

Probability

Syntax  

Probability = Value; <esvIntVar(x)>; <VarCoeff>

Description

Sets the probability that the event fire.

Example  

Probability = 75

In this case, any given time the event conditions are checked, there will be a 75% chance that this one is considered to be fulfilled.  

Probability = 50 ; esvIntVar0; -15

The probability of 50% is reduced by an amount = 15 times the value of esvIntVar0

 

Parameters

Value

Integer; [0..100]; Probability in percent

esvIntVar(x)

Optional Storage variable, the result of a command such as CountCtrlAreas

VarCoeff

The amount to modify the "base" probability. Required if esvIntVar(x) in use.

Forums