SetDestructableLife

Parameters
d destructable
life real
comment

Sets hitpoints to specified value. Cannot exceed maximum HP.

bug

(v2.0.3.22988 SD) Does revive a dead destructable, but its skin doesn't show up. Despite this it can be selected, attacked, killed and walked through (no pathing blocker). Attack it to force death animation when it will finally show the skin.

patch

1.00

Source
common.j (suggest an edit or discuss on Github)
return type
nothing
Source code
native          SetDestructableLife         takes destructable d, real life returns nothing