BreakObject: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{client function}} This function breaks a specific object. Note: Only breakable objects can break. ==Syntax== <syntaxhighlight lang="lua">bool breakObject ( theObject )</syntaxhighlight> =...") |
(No difference)
|
Revision as of 16:48, 13 January 2013
This function breaks a specific object. Note: Only breakable objects can break.
Syntax
bool breakObject ( theObject )
Required Arguments
- theObject: A object element
Returns
Returns 'true' if the object breaks. 'false' if the object is not breakable, or a wrong object was given.
See Also
- breakObject
- getObjectMass
- getObjectProperty
- isObjectMoving
- respawnObject
- setObjectMass
- setObjectProperty
- toggleObjectRespawn
Shared