Blockland Forums > Help
Brick 'Health'
Pages: (1/1)
Jellypuddle:
I just need to know how to do this with VCE, like when you chop down a tree you need to hit it a certain ammount of times before it falls.
Zenthrox:
http://forum.blockland.us/index.php?topic=89861.0
Learn and prosper, my friend.
Sebster 105:
--- Code: ---onProjectileHit => Self => VCE_ModVariable => Brick [Hits] [Add] [1]
onProjectileHit => Self => VCE_IfVariable [Hits] == [15]
OnVariableTrue => self => FakeKillBrick
OnVariableTrue => Self => VCE_ModVariable => Brick [Hits] Set [0]
--- End code ---
Pages: (1/1)