- Documentation
- Shared functions
- isObjectBreakable
Function
isObjectBreakable
Returns whether the object can be broken (breakObject). true by default unless changed with setObjectBreakable.
Syntax
bool isObjectBreakable(object theObject)Arguments
theObjectobject- The object.
Returns
true when breakable.
Example
local obj = createObject(1649, 0, 0, 3)
outputDebugString(tostring(isObjectBreakable(obj)))