JUMP
Usage:
JUMP <Label name> [Jump Chance]
Description:
This command is used to define a point in your script, JUMP,
where you want to have a chance of going to another point, LABEL.
Details:
<Label name> is the point in your script you want to jump
to.
[Jump Chance] is a percentage value which represents the likelyhood of the jump taking place. A value of 0% would mean that it would never jump to the Label, and 100% would mean it would always jump. If no [Jump Chance] is specified then it will always Jump.
See Also:
LABEL
Example:
This script can have two possible outcomes...
RECT_TRIGGER 0 0 -1 TAGGED_USE TAGGED_REPEATABLE 0 4 JUMP message01 50% // 1 out of 2 times we'll show message 1 JUMP message02 // if we didn't jump before, do it now LABEL message01 TIP "Nothing of interest." // force a jump so we don't reach the next LABEL JUMP finished LABEL message02 TIP "That is interesting!" JUMP finished LABEL finished // end of script END_RADIUS_TRIGGER