Blockland Forums > Help
(Tutorial) Variable Conditional Events - An RPG Variable Tree
Orthone:
NoEdit: Sorry, for your question Hectic, after I say 'You see the last box for event' it is suppost to be [ 0 ].. Putting to brackets and a 0 without spaces seems to make a list.
Tolster:
--- Quote from: skill4life on November 15, 2009, 12:01:48 AM ---Now you're thinking with events.
--- End quote ---
Lolportalreference.
But this is a good tutorial that can't get the idea for the new VCE.
And thanks for the effects idea. C:
Orthone:
Le Bump for decent tutorial.
Bones:
--- Quote from: Zenthrox on November 18, 2009, 04:28:51 PM ---Nice one, Skill. This'll come in handy.
--- End quote ---
Oh, so true. I love this. Bookmarking now.
Deathwishez:
--- Quote from: Orthone on January 09, 2010, 04:32:24 AM ---NoEdit: Sorry, for your question Hectic, after I say 'You see the last box for event' it is suppost to be [ 0 ].. Putting to brackets and a 0 without spaces seems to make a list.
--- End quote ---
--- 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.