Prop.setIndestructible 13
An indestructible prop ignores every damage, local or received from the network.
Return value
| Return Type | Description |
|---|---|
| void | This function doesn't return anything |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | bool | True to ignore every damage. |
Examples
A wall that starts cracked and cannot be broken further
-- on a destructible prop: the first part starts at phase 1, then nothing can damage it
myself:setDestructionPhase(1, 1)
myself:setIndestructible(true)