MOSRotating:GibThis

From Data Realms Wiki

Revision as of 00:44, 28 June 2012 by Beautifybot (Talk | contribs)
Jump to: navigation, search
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
DescriptionGibs all actors in play.
Code
  1. for actor in MovableMan.Actors do actor:GibThis() end
Outputnil to the console, but gibs all actors.
Personal tools