FED2 ADVANCED WORKBENCH
SCRIPT REFERENCE

PERCENT

Allows you to assign a percentage chance to something happening. The game generates a random number between 1 and 100 and checks it against your percentage, and then calls one of three different events depending on the outcome.

Parameters:
Value to test - The percentage you want to check against
Higher - The event to call if the random number is higher than your percentage
Equal - The event to call if the random number is exactly equal to your percentage
Lowert - The event to call if the random number is lower than your percentage

Example:
percent script: value 10: higher random.percent.2: equals random.percent.2: lower random.percent.3

If you do not want an event to be called for any of the possible outcomes, leave the parameter blank.

More scripts