Prop.setIndestructible ▲ 13

Available from Easy Red 2 2.1.1

An indestructible prop ignores every damage, local or received from the network.


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1boolTrue 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)

Back to Scripting API