Author Topic: Brick HP and Brick to client relations?  (Read 339 times)

I need an event that would assign an HP value to a brick, i would then need an event that would display a brick's current health value on a player's screen until the brick's hp value has decreased passed 0.

For the brick HP:
VCE
(use whatever input, I just used onProjectileHit)
Code: [Select]
0   x   0   onProjectileHit -> self -> vce_modVariable -> Brick   BrickHP   Subtract   1
1   x   0   onProjectileHit -> self -> vce_ifVariable -> BrickHP   <=   0   2 2
2   x   0   onVariableTrue -> self -> fakeKillBrick/whatever -> whatever x4

For the display:
Code: [Select]
0   x   0   (input) -> client -> bottomPrint -> Brick HP: <var:br:BrickHP>   #
« Last Edit: November 20, 2015, 06:03:39 PM by Drydess »