Blockland Forums > Help
variables how do they work
<< < (2/2)
CrazyGoodDude:

--- Quote from: Regulith on September 21, 2009, 12:35:31 AM ---You said you've been gone right? Variables V5 came out, and they're completely different. All this <VCE:variable> stuff and all that. I don't really like it, so I don't use it :/

--- End quote ---

Seriously... I just learned how before I left...
phflack:

--- Quote from: CrazyGoodDude on September 21, 2009, 12:20:40 AM ---Variables are things that can influence other things, like a very common event to do with variable events

--- Code: ---ifBLID>Equals>8824>Player>Kill
--- End code ---

But that is just one of the huge amount of variable events (You could even create a money system with them :O)

--- End quote ---
ahaha, fail...
for V4, it's
input>self>ifBLID[equals]"8824"
variabletrue>player>kill

for the much better unspammy easier to use V5,
input>self>VCE_ifvalue"<var:cl:bl_id>"[equals]"8825"[1 1]
onvariabletrue>player>kill
GenaralSkar:
i have a video about it, check it out if you dont get it...

crap, my internet wont load youtube... just find it on my channel: http://www.youtube.com/gnomeproductions1/
Nicole:
http://blocklandkittehs.darkbb.com/premium-tutorials-f23/how-to-use-the-variables-system-t36.htm
Deathwishez:
Omfg, here's the kill code:

--- Code: ---[X] 0 [0] onPlayerTouch > Self > VCE_ifValue > [var:client:BL_ID] [==] [8824] [1 2]
[X] 1 [0] onVariableTrue > Player > Kill
[X] 2 [0] onVariableTrue > Client > chatMessage > [You are not welcome here.]

--- End code ---
Navigation
Message Index
Previous page

Go to full version