MOSRotating:GibThis

From Data Realms Wiki

(Difference between revisions)
Jump to: navigation, search
(dupe)
m (updating function page)
 
(3 intermediate revisions not shown)
Line 1: Line 1:
{{LuaFunction
{{LuaFunction
-
|function_name       = Actor:GibThis
+
|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             = [[nil]]
+
* A pointer to an MO which the gibs shuold not be colliding with!
-
|description         = Instantly Kills and Gibs the Actor
+
|returns =None.
-
|codedesc            = Gibs all actors in play.
+
|description =
-
|code                = <code lua n>
+
Gibs this, effectively destroying it and creating multiple gibs or pieces in its place.
-
for actor in MovableMan.Actors do actor:GibThis() end </code>
+
  }}
-
|output              = [[nil]] to the console, but gibs all actors.
+
-
|}}
+

Latest revision as of 00:54, 28 June 2012

Function
SyntaxGibThis( * The impulse (kg * m/s) of the impact causing the gibbing to happen. blast impulse which will push the gibs away from the center.
  • A pointer to an MO which the gibs shuold not be colliding with! )
Description:
Gibs this, effectively destroying it and creating multiple gibs or pieces in its place.
ReturnsNone.




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools