Author Topic: would i have to use vce  (Read 1730 times)

onProjectileHit does not work if the brick is destroyed.

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

What I would do:

Code: [Select]
[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]

This way, if someone shoots it with a rocket launcher, it will not disappear or bypass the onProjectileHit.
yours works its just that only after one shot it fakekills and i need this to work with the bottle


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?

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?
OnProjectileHit

yes that dosent work with the bottle here your in jail theres a dead body on the 2ed level so you click the bot and you search the body hey you find a old bottle tou go up to the bars and hit them 5 times they brake yes your out and i tried with a bottle and nope nofin

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

How many times did you try it?

The bottle probably uses raycasts.  Find another weapon.