Blockland Forums > Help
How to use variables
(1/2) > >>
kakashi11:
So mostly i keep hearing about these vars. i never really figured it out,  could someone tell me how to use them and what they can be used for.

pitchblack:
put these on a brick


onactivate>player>setvariable[killer] [1]
onactivate>self>firerelay
onrelay>self>firerelay
onrelay>self>ifvariable[killer] [1]
variabletrue>player>addhealth[100]
variabletrue>player>spawnexplosion>arrow[1.000]
variabletrue>client>bottom>You are invincible!

that will make you emit a grey smoke and will make you un-killable in minigames...
Wizard:
http://returntoblockland.com/forums/viewtopic.php?t=7163

This is the link to a tutorial I wrote on RTB. It should tell you everything you need.
kakashi11:
thanks wiz :)
phflack:

--- Quote from: pitchblack on May 15, 2009, 07:25:23 AM ---put these on a brick


onactivate>player>setvariable[killer] [1]
onactivate>self>firerelay
onrelay>self>firerelay
onrelay>self>ifvariable[killer] [1]
variabletrue>player>addhealth[100]
variabletrue>player>spawnexplosion>arrow[1.000]
variabletrue>client>bottom>You are invincible!

that will make you emit a grey smoke and will make you un-killable in minigames...

--- End quote ---
have somebody hit you straight on with a sniper/rocket or 5-10 zombies or swords
Navigation
Message Index
Next page

Go to full version