Blockland Forums > Help
(Tutorial) Variable Conditional Events - An RPG Variable Tree
Orthone:
--- Quote from: Deathwishez on January 11, 2010, 10:56:49 PM ---
--- Code: ---[X] 0 [0] onActivate > Self > VCE_modVariable > [Brick] [Chance] Set [1]
[X] 1 [0] onActivate > Self > VCE_modVariable > [Brick] [Chance] RandomNum [4]
[X] 2 [0] onActivate > Self > VCE_ifVariable > [Chance] == [2] [3 4]
[X] 3 [0] onVariableTrue > Client > centerPrint > [<color:00FF00>Success! <color:FFFFFF> You are now fishing!]
[X] 4 [0] onVariableFalse > Client > centerPrint > [<color:FF0000>Failure! <color:FFFFFF> Try again!]
--- End code ---
[ 0 ] works in code.
--- End quote ---
Kk, I'll remember that next time I show events on the forums.