DestructableRestoreLife
- Parameters
-
d destructable
The destructable to resurrect. If it is not dead, there will be no effect.
life real
The amount of hit points the destructable will have when it is resurrected. A value of 0, or any value above the destructable's maximum HP, will give the destructable its maximum HP (as defined in the object editor). Any value below 0.5 will give the destructable 0.5 hit points.
birth boolean
If true, the destructable will play its birth animation upon resurrection.
- comment
Resurrects a destructable with the specified hit points.
- patch
1.00
- Source
- common.j
- return type
nothing
- Source code
native DestructableRestoreLife takes destructable d, real life, boolean birth returns nothing