Blockland Forums > Help

would i have to use vce

Pages: << < (4/5) > >>

Deathwishez:

onProjectileHit does not work if the brick is destroyed.

deathrider:

bump and they wont work can someone take a screenshot and i need this to work with the bottle

deathrider:


--- Quote from: Deathwishez on April 12, 2010, 11:17:43 AM ---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.

--- End quote ---
yours works its just that only after one shot it fakekills and i need this to work with the bottle

deathrider:

this bottle

deathrider:

yes i have lernt vce kinda and it works i read the manual yay now all i need is a onmeelyhit event do you people know what event Tezuni's jail rp uses for the fist and knifes?

Pages: << < (4/5) > >>

Go to full version