BreakObject: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Zangomangu (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{client function}} | {{client function}} | ||
{{Needs_Example}} | |||
This function breaks a specific object. | This function breaks a specific object. | ||
Note: Only breakable objects can be broken. | Note: Only breakable objects can be broken. |
Revision as of 09:37, 18 January 2014
Script Example Missing Function BreakObject needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
This function breaks a specific object. Note: Only breakable objects can be broken.
Syntax
bool breakObject ( object theObject )
Required Arguments
- theObject: An object element
Returns
Returns true if the object was successfully broken. false if the object is not breakable, or a wrong object was given.
See Also
- createObject
- getObjectScale
- moveObject
- setObjectScale
- stopObject
- getObjectMass
- getObjectProperty
- setObjectMass
- setObjectProperty