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: Terrain clearing with 2 parts?

Previous Thread :: Next Thread 
cjcool12345 is not online. cjcool12345
Joined: 28 Jan 2010
Total Posts: 606
21 Mar 2012 02:10 PM
I am trying to clear terrain using 2 parts that I have selected in order from lowest to highest.

I tried to use the following command to clear the terrain in that region, but it doesn't seem to work (no errors, just not working).

workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(game.Selection:Get()[1].Position.x, game.Selection:Get()[1].Position.y, game.Selection:Get()[1].Position.z), Vector3int16.new(game.Selection:Get()[2].Position.x, game.Selection:Get()[2].Position.y, game.Selection:Get()[2].Position.z)), 0, 0, 0)

Is there anything I could do to the command to make it work?
Report Abuse
cjcool12345 is not online. cjcool12345
Joined: 28 Jan 2010
Total Posts: 606
21 Mar 2012 02:41 PM
Anyone? Any ideas?
Report Abuse
cjcool12345 is not online. cjcool12345
Joined: 28 Jan 2010
Total Posts: 606
21 Mar 2012 03:28 PM
Anyone have any idea how to find the problem at the most?
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