Blockland Forums > Help
would i have to use vce
<< < (3/5) > >>
Deathwishez:
What I would do:


--- Code: ---[X] 0 [0] onProjectileHit > Self > VCE_ifVariable > [Hits] >= [5] [1 3]
[X] 1 [0] onVariableTrue > Self > VCE_modVariable > [Hits] set [0]
[X] 2 [0] onVariableTrue > Self > fakeKillBrick > [0] [0] [0] [10]
[X] 3 [0] onVariableFalse > Self > VCE_modVariable > [Hits] add [1]
[X] 4 [0] onBlownUp > Self > VCE_ifVariable > [Hits] >= [5] [1 3]
[X] 5 [0] onBlownUp > Self > Respawn
[X] 6 [0] onProjectileHit > Client > bottomPrint > [<color:FFFF00>Brick Health<color:FFFFFF> <var:brick:hits> / 5] [3]
[X] 7 [0] onBlownUp > Client > bottomPrint > [<color:FFFF00>Brick Health<color:FFFFFF> <var:brick:hits> / 5] [3]
--- End code ---

This way, if someone shoots it with a rocket launcher, it will not disappear or bypass the onProjectileHit.
deathrider:
that is so cool useing that thanks but will it work with a bottle but big guns like rpg 7 wont do any thing right?
Deathwishez:

--- Quote from: deathrider on April 13, 2010, 01:54:25 AM ---that is so cool useing that thanks but will it work with a bottle but big guns like rpg 7 wont do any thing right?

--- End quote ---

If it blows up, it instantly respawns so that if you're using it for a wall or something, you still can't get through. It also uses the onProjectile check for the onBlownUp check. Using my method, there's no way around it.
deathrider:

--- Quote from: Deathwishez on April 13, 2010, 04:46:48 PM ---If it blows up, it instantly respawns so that if you're using it for a wall or something, you still can't get through. It also uses the onProjectile check for the onBlownUp check. Using my method, there's no way around it.

--- End quote ---
so only exsplosens will make it respawn instantly (sorry 4 spelling on psp and its starting to go slow down)
phflack:

--- Quote from: Deathwishez on April 13, 2010, 04:46:48 PM ---If it blows up, it instantly respawns so that if you're using it for a wall or something, you still can't get through. It also uses the onProjectile check for the onBlownUp check. Using my method, there's no way around it.

--- End quote ---
although it will count twice if you rocket it and it blows up from explosion
Navigation
Message Index
Next page
Previous page

Go to full version