generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Help with regening and wiring.

Previous Thread :: Next Thread 
whatever78 is not online. whatever78
Joined: 16 Mar 2010
Total Posts: 4021
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
whatever78 is not online. whatever78
Joined: 16 Mar 2010
Total Posts: 4021
19 Jun 2012 10:14 AM
Teeny bump
Report Abuse
1pie23 is not online. 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
Destroyer97 is not online. Destroyer97
Joined: 11 Jul 2008
Total Posts: 438
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
whatever78 is not online. whatever78
Joined: 16 Mar 2010
Total Posts: 4021
19 Jun 2012 12:43 PM
Thanks, I will try that.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image