Prop.destroy ▲ 11

Available from Easy Red 2 2.1.1

Breaks every part down to destroyed, with the effects of the destruction.


Return value

Return TypeDescription
voidThis function doesn't return anything

No parameters defined for this function.


Examples

A building that collapses after two minutes

-- on a destructible building: it comes down two minutes into the battle, even if far from everyone
sleep(120)
myself:destroy()

Back to Scripting API