|
| 19 Jun 2012 10:13 AM |
| Does anyone know how to make it so the wiring C4 doesn't blow terrain up? Also, I explode the C4 and when I add a regen script it doesn't regen with everything rewired again. Any help would be awesome! |
|
|
| Report Abuse |
|
|
| |
|
1pie23
|
  |
| Joined: 11 Jul 2010 |
| Total Posts: 1865 |
|
|
| 19 Jun 2012 10:24 AM |
| The parent property of terrain is locked. I don't actually think there's away to not make it blow terrain up. |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 10:39 AM |
Use the Explosion object's 'ExplosionType' property with the 'ExplosionType' enum:
Enum.ExplosionType.Craters Enum.ExplosionType.CratersAndDebris Enum.ExplosionType.NoCraters -- I believe this one does not destroy terrain
e.g. in a world with terrain,
Instance.new("Explosion", Workspace).ExplosionType = Enum.ExplosionType.NoCraters -- creates an explosion that doesn't destroy terrain |
|
|
| Report Abuse |
|
|
| |
|