MOSRotating:GibThis
From Data Realms Wiki
(Difference between revisions)
m (Reverted edits by Beautifybot (talk) to last revision by Daman) |
Beautifybot (Talk | contribs) m (updating function page) |
||
Line 1: | Line 1: | ||
{{LuaFunction | {{LuaFunction | ||
- | |function_name | + | |function_name =GibThis |
- | |arguments | + | |arguments =* The impulse (kg * m/s) of the impact causing the gibbing to happen. blast impulse which will push the gibs away from the center. |
- | |returns | + | * A pointer to an MO which the gibs shuold not be colliding with! |
- | |description | + | |returns =None. |
- | |codedesc | + | |description = |
- | |code | + | Gibs this, effectively destroying it and creating multiple gibs or pieces in its place. |
+ | |codedesc = Gibs all actors in play. | ||
+ | |code = <code lua n> | ||
for actor in MovableMan.Actors do actor:GibThis() end </code> | for actor in MovableMan.Actors do actor:GibThis() end </code> | ||
- | |output | + | |output = [[nil]] to the console, but gibs all actors. |
- | + | }} |
Revision as of 00:44, 28 June 2012
Function | |
---|---|
Syntax | GibThis( * The impulse (kg * m/s) of the impact causing the gibbing to happen. blast impulse which will push the gibs away from the center.
|
Description: | |
Gibs this, effectively destroying it and creating multiple gibs or pieces in its place. | |
Returns | None. |
Example | |
---|---|
Description | Gibs all actors in play. |
Code | |
Output | nil to the console, but gibs all actors. |