Blockland Forums > Help

Event Help

Pages: << < (2/2)

Deathwishez:

You can use the VCE...

onPlayerTouch > Self > VCE_ifValue > [<var:player:health>] == [1] [ ]
onVariableTrue > Self > setColor > {Standard 1}

Orion:

i think all he wants is some advanced gore mod or something. so if you get shot a big spray of blood appears behind you on the wall/floor the bullets were going.

phflack:

nah, he wants it so when you die, blood appears around you

i would use:
0[500]onplayertouch>self>vce_ifvalue[<var:pl:health>][==][0][1 3]
1[0]onvariabletrue>self>setcolor[red]
2[5000]onvariabletrue>self>setcolor[color]
3[0]onvariablefalse>self>setcolor[color]
4[0]onplayertouch>self>cancelevents

this will make it so it turns red after 0.5 seconds of death, and stay there for 5 seconds or until somebody walks in it

Deathwishez:

There's one problem with that though.

The VCE dumps the health value when you die.

Maybe if you tested for a null variable it would work.

Pages: << < (2/2)

Go to full version