Author Topic: Events help  (Read 1155 times)

Is there a way to make it to when a brick is attacked with a melee weapon or a shooting weapon a number of times that the brick disappears?




onprojectilehit>self>vce_ifvariable[hits][>][0]1 3
onvariabletrue>self>vce_modvariable[brick][hits][subtract][1]
onvariablefalse>self>dissapear
onvaraiblefalse>self>vce_modvariable[brick][hits][set][ammount]
onprojectilehit>client>bottomprint[<var:br:hits> hits left.]

onprojectilehit>self>vce_ifvariable[hits][>][0]1 3
onvariabletrue>self>vce_modvariable[brick][hits][subtract][1]
onvariablefalse>self>dissapear
onvaraiblefalse>self>vce_modvariable[brick][hits][set][ammount]
onprojectilehit>client>bottomprint[<var:br:hits> hits left.]
Thank you phflack your always helpful :cookieMonster:

No edit: Am I supposed to put the amount I want in the part you put amount?



No edit: Am I supposed to put the amount I want in the part you put amount?
yes

yes
Well it did not work it just says "amount hits left" and does not disappear

Well it did not work it just says "amount hits left" and does not disappear

At the line where you see the output event disappear, you must put a Smart Numeric Number from 0 to 10, in seconds how long it should disappear.

Also phlack has won the topic 95%.

At the line where you see the output event disappear, you must put a Smart Numeric Number from 0 to 10, in seconds how long it should disappear.

Also phlack has won the topic 95%.
I put -1 one but it still does not work.

No edit: Nvm I got it working.